From 1b90610d62d37a4ee0572090c4663d2bb6933cdc Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 7 Apr 2022 14:27:09 +0200 Subject: [PATCH] Update TestUtils.h --- Utils/TestUtils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utils/TestUtils.h b/Utils/TestUtils.h index 9200b5b..ce85828 100644 --- a/Utils/TestUtils.h +++ b/Utils/TestUtils.h @@ -11,7 +11,7 @@ #define UTILS_TEST_UTILS_H #include -#include +#include "MathUtils.h" #define ASSERT_EQUALS(a, b, t1, t2) \ ({ __typeof__ (a) _a = (a); \ @@ -28,7 +28,7 @@ #define ASSERT_EQUALS_WITH_DELTA(a, b, delta, t1, t2) \ ({ __typeof__ (a) _a = (a); \ __typeof__ (b) _b = (b); \ - if (abs(_a - _b) <= delta) { \ + if (oms_abs(_a - _b) <= delta) { \ printf("."); \ } else { \ printf("F"); \ @@ -37,4 +37,4 @@ return 0; } \ }) -#endif \ No newline at end of file +#endif