test: add some tests for mat3

This commit is contained in:
Recep Aslantas
2018-04-15 20:47:38 +03:00
parent f0a27d0ce2
commit 821c79572f
6 changed files with 95 additions and 1 deletions

View File

@@ -25,6 +25,9 @@
void
test_rand_mat4(mat4 dest);
void
test_rand_mat3(mat3 dest);
void
test_assert_eqf(float a, float b);
@@ -34,6 +37,9 @@ test_assert_mat4_eq(mat4 m1, mat4 m2);
void
test_assert_mat4_eq2(mat4 m1, mat4 m2, float eps);
void
test_assert_mat3_eq(mat3 m1, mat3 m2);
void
test_assert_vec3_eq(vec3 v1, vec3 v2);