test: add missing mat2x4 tests

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
Vincent Davis Jr
2023-08-06 10:18:41 -04:00
parent 006e4ffbdf
commit 37d20f7da8
4 changed files with 194 additions and 1 deletions

View File

@@ -17,6 +17,9 @@
void
test_rand_mat4(mat4 dest);
void
test_rand_mat4x2(mat4x2 dest);
void
test_rand_mat3(mat3 dest);
@@ -29,6 +32,9 @@ test_rand_mat2(mat2 dest);
void
test_rand_mat2x3(mat2x3 dest);
void
test_rand_mat2x4(mat2x4 dest);
test_status_t
test_assert_eqf(float a, float b);
@@ -50,6 +56,9 @@ test_assert_mat4_eq_zero(mat4 m4);
test_status_t
test_assert_mat4x2_eq_zero(mat4x2 m4x2);
test_status_t
test_assert_mat4x2_eq(mat4x2 m1, mat4x2 m2);
test_status_t
test_assert_mat4x3_eq_zero(mat4x3 m4x3);
@@ -74,6 +83,9 @@ test_assert_mat2x3_eq(mat2x3 m1, mat2x3 m2);
test_status_t
test_assert_mat2x4_eq_zero(mat2x4 m2x4);
test_status_t
test_assert_mat2x4_eq(mat2x4 m1, mat2x4 m2);
test_status_t
test_assert_mat3_eq(mat3 m1, mat3 m2);