diff --git a/test/gtc/gtc_epsilon.cpp b/test/gtc/gtc_epsilon.cpp index 2c3001b3..f6b28586 100644 --- a/test/gtc/gtc_epsilon.cpp +++ b/test/gtc/gtc_epsilon.cpp @@ -17,36 +17,36 @@ int test_equal() { int Error(0); - { - T A = glm::epsilon(); - T B = glm::epsilon(); - Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; - } - - { - T A(0); - T B = T(0) + glm::epsilon(); - Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; - } - - { - T A(0); - T B = T(0) - glm::epsilon(); - Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; - } - - { - T A = T(0) + glm::epsilon(); - T B = T(0); - Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; - } - - { - T A = T(0) - glm::epsilon(); - T B = T(0); - Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; - } - + { + T A = glm::epsilon(); + T B = glm::epsilon(); + Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; + } + + { + T A(0); + T B = T(0) + glm::epsilon(); + Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; + } + + { + T A(0); + T B = T(0) - glm::epsilon(); + Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; + } + + { + T A = T(0) + glm::epsilon(); + T B = T(0); + Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; + } + + { + T A = T(0) - glm::epsilon(); + T B = T(0); + Error += glm::epsilonEqual(A, B, glm::epsilon()) ? 0 : 1; + } + return Error; } @@ -54,9 +54,9 @@ int main() { int Error(0); - Error += test_equal(); - Error += test_equal(); - Error += test_equal(); + Error += test_equal(); + Error += test_equal(); + Error += test_equal(); return Error; }