Add GLM_META_PROG_HELPERS tests to each type

- Add new tests to the matrix types
- Add vector tests to use the static values instead of constants
- Wrap the quaternion tests in #ifdefs
- Add new tests to the simdMat4 and simdVec4 tests
This commit is contained in:
Jesse Talavera-Greenberg
2015-07-25 14:33:01 -04:00
parent f46249620a
commit 2a947b7ff1
17 changed files with 72 additions and 2 deletions

View File

@@ -209,6 +209,10 @@ int main()
{
int Error(0);
#ifdef GLM_META_PROG_HELPERS
assert(glm::dualquat::components == glm::dualquat().length());
#endif
Error += test_dual_quat_ctr();
Error += test_dquat_type();
Error += test_scalars();