From 6b2f593292f15f89facb7057698b050987b8af10 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Tue, 28 Feb 2023 08:48:03 +0700 Subject: [PATCH] fix CI tests --- develop/untests/vmath_mat_fun_tests.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/develop/untests/vmath_mat_fun_tests.cpp b/develop/untests/vmath_mat_fun_tests.cpp index 315300d..2e5b1bd 100644 --- a/develop/untests/vmath_mat_fun_tests.cpp +++ b/develop/untests/vmath_mat_fun_tests.cpp @@ -322,7 +322,8 @@ TEST_CASE("vmath/mat_fun") { constexpr fmat4 rm1 = inverse(m1); STATIC_CHECK(all(approx( unit4_z * m1 * rm1, - unit4_z))); + unit4_z, + 0.00001f))); } { @@ -331,7 +332,8 @@ TEST_CASE("vmath/mat_fun") { const fmat4 rm2 = inverse(m2); CHECK(all(approx( unit4_z * m2 * rm2, - unit4_z))); + unit4_z, + 0.00001f))); } { @@ -340,7 +342,8 @@ TEST_CASE("vmath/mat_fun") { const fmat3 rm3 = inverse(m3); CHECK(all(approx( unit3_z * m3 * rm3, - unit3_z))); + unit3_z, + 0.00001f))); } { @@ -349,7 +352,8 @@ TEST_CASE("vmath/mat_fun") { const fmat2 rm4 = inverse(m4); CHECK(all(approx( unit2_y * m4 * rm4, - unit2_y))); + unit2_y, + 0.00001f))); } } }