diff --git a/test/test_ProduktSumme.c b/test/test_ProduktSumme.c index a7dcbd1..5a27f35 100644 --- a/test/test_ProduktSumme.c +++ b/test/test_ProduktSumme.c @@ -22,5 +22,15 @@ void test_produkt_1(void) TEST_ASSERT_EQUAL_INT(expected, result); } +void test_Summe_1(void) +{ + int result, expected = 55; + + result = berechneSumme(1,10); + + TEST_ASSERT_EQUAL_INT(expected, result); +} + + #endif //TEST