Let test return the number of errors

This commit is contained in:
Sebastian Buchwald 2019-09-11 19:12:39 +02:00
parent 5868657413
commit 7b06a984af

View File

@ -14,7 +14,7 @@ int test_fastInverseSqrt()
Error += glm::all(glm::epsilonEqual(glm::fastInverseSqrt(glm::dvec3(1.0)), glm::dvec3(1.0), 0.01)) ? 0 : 1;
Error += glm::all(glm::epsilonEqual(glm::fastInverseSqrt(glm::dvec4(1.0)), glm::dvec4(1.0), 0.01)) ? 0 : 1;
return 0;
return Error;
}
int test_fastDistance()