aboutsummaryrefslogtreecommitdiff
path: root/tests/un/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/un/math.c')
-rw-r--r--tests/un/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/un/math.c b/tests/un/math.c
index eab0dcb..8b8df67 100644
--- a/tests/un/math.c
+++ b/tests/un/math.c
@@ -14,7 +14,7 @@ int main() {
assert(fabsf(f - 1.5f) < EPSILON);
d = un_m_lerpd(1.0, 2.0, 0.5);
- assert(fabs(d - 1.5) < 0.000001);
+ assert(fabs(d - 1.5) < EPSILON);
}
// Test Bezier curve functions