From 7b06a984af72e03b3e1af576b7e1b2942e98a808 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Wed, 11 Sep 2019 19:12:39 +0200 Subject: [PATCH] Let test return the number of errors --- test/gtx/gtx_fast_square_root.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtx/gtx_fast_square_root.cpp b/test/gtx/gtx_fast_square_root.cpp index e41a0a08..80d7fe4b 100644 --- a/test/gtx/gtx_fast_square_root.cpp +++ b/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()