Merge pull request #964 from tnixeu/use_all_variables

Use all variables in core_func_common test #964
This commit is contained in:
Christophe 2019-11-02 10:25:33 +01:00 committed by GitHub
commit 1e971676ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<float>()));
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<float>()));
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);