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