From 185e9e257b94aac2c5318eb99decffbea0f299ea Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Sun, 6 Mar 2016 19:42:10 -0500 Subject: [PATCH] Add tests for generalized matrix conversions --- test/core/core_type_mat2x2.cpp | 10 ++++++++++ test/core/core_type_mat2x3.cpp | 10 ++++++++++ test/core/core_type_mat2x4.cpp | 10 ++++++++++ test/core/core_type_mat3x2.cpp | 10 ++++++++++ test/core/core_type_mat3x3.cpp | 10 ++++++++++ test/core/core_type_mat3x4.cpp | 10 ++++++++++ test/core/core_type_mat4x2.cpp | 10 ++++++++++ test/core/core_type_mat4x3.cpp | 10 ++++++++++ test/core/core_type_mat4x4.cpp | 10 ++++++++++ 9 files changed, 90 insertions(+) diff --git a/test/core/core_type_mat2x2.cpp b/test/core/core_type_mat2x2.cpp index 9e36e54d..43460f8a 100644 --- a/test/core/core_type_mat2x2.cpp +++ b/test/core/core_type_mat2x2.cpp @@ -169,6 +169,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat2x3.cpp b/test/core/core_type_mat2x3.cpp index 34e2d9a8..5d3c71cd 100644 --- a/test/core/core_type_mat2x3.cpp +++ b/test/core/core_type_mat2x3.cpp @@ -144,6 +144,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat2x4.cpp b/test/core/core_type_mat2x4.cpp index 9ad9a47c..cf1d981f 100644 --- a/test/core/core_type_mat2x4.cpp +++ b/test/core/core_type_mat2x4.cpp @@ -143,6 +143,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat3x2.cpp b/test/core/core_type_mat3x2.cpp index e68c2638..b6e70693 100644 --- a/test/core/core_type_mat3x2.cpp +++ b/test/core/core_type_mat3x2.cpp @@ -148,6 +148,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat3x3.cpp b/test/core/core_type_mat3x3.cpp index f9ece80f..fc39947b 100644 --- a/test/core/core_type_mat3x3.cpp +++ b/test/core/core_type_mat3x3.cpp @@ -206,6 +206,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat3x4.cpp b/test/core/core_type_mat3x4.cpp index bde2e89d..e479e821 100644 --- a/test/core/core_type_mat3x4.cpp +++ b/test/core/core_type_mat3x4.cpp @@ -147,6 +147,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat4x2.cpp b/test/core/core_type_mat4x2.cpp index 78cd9170..b51a2947 100644 --- a/test/core/core_type_mat4x2.cpp +++ b/test/core/core_type_mat4x2.cpp @@ -150,6 +150,16 @@ namespace cast Error += entry(); Error += entry(); Error += entry(); + + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); return Error; } diff --git a/test/core/core_type_mat4x3.cpp b/test/core/core_type_mat4x3.cpp index 677fcf03..40dfb94b 100644 --- a/test/core/core_type_mat4x3.cpp +++ b/test/core/core_type_mat4x3.cpp @@ -151,6 +151,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp index f3fa5aaf..b985761f 100644 --- a/test/core/core_type_mat4x4.cpp +++ b/test/core/core_type_mat4x4.cpp @@ -324,6 +324,16 @@ namespace cast Error += entry(); Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + Error += entry(); + return Error; } }//namespace cast