diff --git a/test/test_minirechner.c b/test/test_minirechner.c index b0b992b..ee6a1b2 100644 --- a/test/test_minirechner.c +++ b/test/test_minirechner.c @@ -69,4 +69,10 @@ void test_minitaschenrechner_8_mal_3(void) TEST_ASSERT_EQUAL(24, result); } +void test_minitaschenrechner_minus3_mal_minus4(void) +{ + float result = multiplizieren(-3, -4); + TEST_ASSERT_EQUAL(12, result); +} + #endif // TEST