diff --git a/test/test_minirechner.c b/test/test_minirechner.c index fe6443d..cacd21b 100644 --- a/test/test_minirechner.c +++ b/test/test_minirechner.c @@ -31,4 +31,9 @@ void test_minitaschenrechner_minus1_plus_minus3(void) TEST_ASSERT_EQUAL(-4, result); } +void test_minitaschenrechner_0_plus_2(void) +{ + float result = addieren(0, 2); + TEST_ASSERT_EQUAL(2, result); +} #endif // TEST