Browse Source

Merge pull request #952 from UniQP/fixReturnValue

Let test return the number of errors #952
Christophe 6 years ago
parent
commit
7c07544b34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/gtx/gtx_fast_square_root.cpp

+ 1 - 1
test/gtx/gtx_fast_square_root.cpp

@@ -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()