diff --git a/test/core/core_type_mat2x3.cpp b/test/core/core_type_mat2x3.cpp index b4431226..aa934127 100644 --- a/test/core/core_type_mat2x3.cpp +++ b/test/core/core_type_mat2x3.cpp @@ -24,8 +24,8 @@ static int test_operators() glm::mat2x3 o = m / x; glm::mat2x3 p = x * m; glm::mat2x3 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat2x4.cpp b/test/core/core_type_mat2x4.cpp index ba2cd41f..0c276f07 100644 --- a/test/core/core_type_mat2x4.cpp +++ b/test/core/core_type_mat2x4.cpp @@ -25,8 +25,8 @@ static int test_operators() glm::mat2x4 o = m / x; glm::mat2x4 p = x * m; glm::mat2x4 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat3x2.cpp b/test/core/core_type_mat3x2.cpp index f4a204b4..2b03a5c2 100644 --- a/test/core/core_type_mat3x2.cpp +++ b/test/core/core_type_mat3x2.cpp @@ -24,8 +24,8 @@ static bool test_operators() glm::mat3x2 o = m / x; glm::mat3x2 p = x * m; glm::mat3x2 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat3x3.cpp b/test/core/core_type_mat3x3.cpp index 04e5394d..effa0364 100644 --- a/test/core/core_type_mat3x3.cpp +++ b/test/core/core_type_mat3x3.cpp @@ -51,8 +51,8 @@ static int test_operators() glm::mat3x3 o = m / x; glm::mat3x3 p = x * m; glm::mat3x3 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat3x4.cpp b/test/core/core_type_mat3x4.cpp index 6839dab1..eea68d93 100644 --- a/test/core/core_type_mat3x4.cpp +++ b/test/core/core_type_mat3x4.cpp @@ -25,8 +25,8 @@ static bool test_operators() glm::mat3x4 o = m / x; glm::mat3x4 p = x * m; glm::mat3x4 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat4x2.cpp b/test/core/core_type_mat4x2.cpp index e392017c..7bd1da97 100644 --- a/test/core/core_type_mat4x2.cpp +++ b/test/core/core_type_mat4x2.cpp @@ -24,8 +24,8 @@ static int test_operators() glm::mat4x2 o = m / x; glm::mat4x2 p = x * m; glm::mat4x2 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat4x3.cpp b/test/core/core_type_mat4x3.cpp index 5a5c1500..2ac1d283 100644 --- a/test/core/core_type_mat4x3.cpp +++ b/test/core/core_type_mat4x3.cpp @@ -24,8 +24,8 @@ static int test_operators() glm::mat4x3 o = m / x; glm::mat4x3 p = x * m; glm::mat4x3 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; } diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp index 877126f1..ebdb73be 100644 --- a/test/core/core_type_mat4x4.cpp +++ b/test/core/core_type_mat4x4.cpp @@ -72,8 +72,8 @@ static bool test_operators() glm::mat4x4 o = m / x; glm::mat4x4 p = x * m; glm::mat4x4 q = m * x; - bool R = m != q; - bool S = m == l; + bool R = glm::any(glm::notEqual(m, q, glm::epsilon())); + bool S = glm::all(glm::equal(m, l, glm::epsilon())); return (S && !R) ? 0 : 1; }