From c406c144c27fddee5d9b839615f383fa6db0ae8a Mon Sep 17 00:00:00 2001 From: fdai7754 Date: Sat, 3 Feb 2024 18:47:38 +0100 Subject: [PATCH] unittest rest --- test/test_minirechner.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_minirechner.c b/test/test_minirechner.c index 8df2c71..10e0ebf 100644 --- a/test/test_minirechner.c +++ b/test/test_minirechner.c @@ -107,4 +107,10 @@ void test_minitaschenrechner_14_rest_5(void) TEST_ASSERT_EQUAL(4, result); } +void test_minitaschenrechner_1_rest_7(void) +{ + float result = rest(0, 7); + TEST_ASSERT_EQUAL(0, result); +} + #endif // TEST