Skip to content

Commit

Permalink
Merge pull request #952 from UniQP/fixReturnValue
Browse files Browse the repository at this point in the history
Let test return the number of errors #952
  • Loading branch information
Groovounet authored Sep 12, 2019
2 parents 4ff530b + 7b06a98 commit 7c07544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gtx/gtx_fast_square_root.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7c07544

Please # to comment.