test: improve runner output and add assert helper for inline functions

This commit is contained in:
Recep Aslantas
2019-09-12 23:54:24 +03:00
parent 80c2b3712d
commit 32e5784564
10 changed files with 89 additions and 69 deletions

View File

@@ -19,7 +19,7 @@ TEST_IMPL(camera_lookat) {
glm_look(eye, dir, up, view2);
ASSERT(test_assert_mat4_eq(view1, view2).status == 1)
ASSERTIFY(test_assert_mat4_eq(view1, view2))
TEST_SUCCESS
}
@@ -49,7 +49,7 @@ TEST_IMPL(camera_decomp) {
farVal,
proj2);
ASSERT(test_assert_mat4_eq(proj, proj2).status == 1)
ASSERTIFY(test_assert_mat4_eq(proj, proj2))
TEST_SUCCESS
}