From 49d89a00096fe6a3cecbf7b4ec7f86a2ccb77ed5 Mon Sep 17 00:00:00 2001 From: tnixeu <4436784+tnixeu@users.noreply.github.com> Date: Sat, 26 Oct 2019 14:58:02 +0200 Subject: [PATCH] uses all variables in test --- test/core/core_func_common.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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);