Fixed tests to provide relevant output for CTest

This commit is contained in:
Christophe Riccio
2011-05-02 23:38:55 +01:00
parent c3763826e8
commit 1c4abb3d73
16 changed files with 86 additions and 101 deletions

View File

@@ -129,6 +129,8 @@ namespace bitRevert
int main()
{
::extractField::test();
::bitRevert::test();
bool Error = 0;
Error += ::extractField::test();
Error += ::bitRevert::test();
return Error;
}

View File

@@ -16,7 +16,7 @@ int main()
glm::simdVec4 A1(0.0f, 0.1f, 0.2f, 0.3f);
glm::simdVec4 B1(0.4f, 0.5f, 0.6f, 0.7f);
glm::simdVec4 C1 = A1 + B1;
glm::simdVec4 D1 = A1.swizzle<glm::X, glm::Z, glm::Y, glm::W>();
//glm::simdVec4 D1 = A1.swizzle<glm::X, glm::Z, glm::Y, glm::W>();
glm::simdVec4 E1(glm::vec4(1.0f));
glm::vec4 F1 = glm::vec4_cast(E1);
//glm::vec4 G1(E1);