diff --git a/test/test_minirechner.c b/test/test_minirechner.c index 6e72901..88e1df2 100644 --- a/test/test_minirechner.c +++ b/test/test_minirechner.c @@ -94,4 +94,10 @@ void test_minitaschenrechner_minus6_durch_minus2(void) TEST_ASSERT_EQUAL(3, result); } +void test_minitaschenrechner_0_durch_5(void) +{ + float result = dividieren(0, 5); + TEST_ASSERT_EQUAL(0, result); +} + #endif // TEST