From ebeabfe930d4c7ccaa69afeb940f8fe568ce79fa Mon Sep 17 00:00:00 2001 From: nitrix Date: Thu, 5 Mar 2020 16:39:47 +0100 Subject: [PATCH] fix input values to match expected value --- src/test/math/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/math/math.c b/src/test/math/math.c index 2f36cc6..563c45a 100644 --- a/src/test/math/math.c +++ b/src/test/math/math.c @@ -261,7 +261,7 @@ int runMathTests() printf("\nFloat And Integer Subtraction\n"); math_argumentTest_f("mixsub(10.0, 10)", 0.0, mixsub(10.0, 10)); math_argumentTest_f("mixsub(0.0, 0)", 0.0, mixsub(0.0, 0)); - math_argumentTest_f("mixsub(-10.0, -10)", -20.0, mixsub(-10.0, -10)); + math_argumentTest_f("mixsub(-10.0, 10)", -20.0, mixsub(-10.0, 10)); math_argumentTest_f("mixsub(-1.0, 1)", -2.0, mixsub(-1.0, 1)); math_argumentTest_f("mixsub(0.0, -1)", 1.0, mixsub(0.0, -1));