mirror of
https://github.com/recp/cglm.git
synced 2026-11-18 10:17:13 -06:00
tests: use test_eq insteaf og glm_eq
This commit is contained in:
1 parent
d7b37ba245
commit
51ffe09589
8 files changed
+181
-175
No files matched your search
@@ -84,9 +84,9 @@ TEST_IMPL(GLM_PREFIX, project) {
|
||||
GLM(project)(pos, mvp, viewport, projected);
|
||||
GLM(unproject)(projected, mvp, viewport, unprojected);
|
||||
|
||||
ASSERT(glm_eq(pos[0], unprojected[0]))
|
||||
ASSERT(glm_eq(pos[1], unprojected[1]))
|
||||
ASSERT(glm_eq(pos[2], unprojected[2]))
|
||||
ASSERT(test_eq(pos[0], unprojected[0]))
|
||||
ASSERT(test_eq(pos[1], unprojected[1]))
|
||||
ASSERT(test_eq(pos[2], unprojected[2]))
|
||||
|
||||
TEST_SUCCESS
|
||||
}
|
||||
Reference in new issue
Block a user