Fixed tests

master
Christophe Riccio ago%!(EXTRA string=14 years)
parent 0cd665c4ca
commit dad27d9b37
  1. 2
      test/core/core_func_common.cpp
  2. 2
      test/gtx/gtx_vector_query.cpp

@ -296,7 +296,7 @@ int main()
Error += test_floatBitsToUint(); Error += test_floatBitsToUint();
Error += test_mix(); Error += test_mix();
Error += test_round(); Error += test_round();
//Error += test_roundEven(); Error += test_roundEven();
return Error; return Error;
} }

@ -24,7 +24,7 @@ int test_isNormalized()
{ {
int Error(0); int Error(0);
bool TestA = glm::isNormalized(glm::vec4(1), 0.00001f); bool TestA = glm::isNormalized(glm::vec4(1, 0, 0, 0), 0.00001f);
Error += TestA ? 0 : 1; Error += TestA ? 0 : 1;
return Error; return Error;

Loading…
Cancel
Save