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

@@ -325,7 +325,10 @@ int main()
{
int Error(0);
assert(glm::quat::components == 4);
#ifdef GLM_META_PROG_HELPERS
assert(glm::quat::components == 4);
assert(glm::quat::components == glm::quat().length());
#endif
Error += test_quat_ctr();
Error += test_quat_mul_vec();