diff --git a/test/test_minirechner.c b/test/test_minirechner.c index ee6a1b2..a3cf7b2 100644 --- a/test/test_minirechner.c +++ b/test/test_minirechner.c @@ -75,4 +75,10 @@ void test_minitaschenrechner_minus3_mal_minus4(void) TEST_ASSERT_EQUAL(12, result); } +void test_minitaschenrechner_0_mal_5(void) +{ + float result = multiplizieren(0, 5); + TEST_ASSERT_EQUAL(0, result); +} + #endif // TEST