diff --git a/test/test_minirechner.c b/test/test_minirechner.c index cce14b7..140d6cb 100644 --- a/test/test_minirechner.c +++ b/test/test_minirechner.c @@ -19,4 +19,10 @@ void test_minitaschenrechner_3_plus_4(void) TEST_ASSERT_EQUAL(7, result); } +void test_minitaschenrechner_float_plus_float(void) +{ + float result = addieren(3.1, 4.2); + TEST_ASSERT_EQUAL(7.3, result); +} + #endif // TEST