diff --git a/test/core/core_func_common.cpp b/test/core/core_func_common.cpp index 33a79be9..b8640dea 100644 --- a/test/core/core_func_common.cpp +++ b/test/core/core_func_common.cpp @@ -276,6 +276,8 @@ namespace min_ int Error = 0; glm::vec1 A0 = glm::min(glm::vec1(1), glm::vec1(1)); + bool A1 = glm::all(glm::equal(A0, glm::vec1(1), glm::epsilon())); + Error += A1 ? 0 : 1; glm::vec2 B0 = glm::min(glm::vec2(1), glm::vec2(1)); glm::vec2 B1 = glm::min(glm::vec2(1), 1.0f); @@ -359,6 +361,9 @@ namespace max_ int Error = 0; glm::vec1 A0 = glm::max(glm::vec1(1), glm::vec1(1)); + bool A1 = glm::all(glm::equal(A0, glm::vec1(1), glm::epsilon())); + Error += A1 ? 0 : 1; + glm::vec2 B0 = glm::max(glm::vec2(1), glm::vec2(1)); glm::vec2 B1 = glm::max(glm::vec2(1), 1.0f);