@ -4,6 +4,10 @@
#ifndef LINKES_TWIX_PRODUKTSUMME_H
#define LINKES_TWIX_PRODUKTSUMME_H
int berechneProdukt(int start, int ende);
int berechneSumme(int start, int ende);
#endif //LINKES_TWIX_PRODUKTSUMME_H
@ -31,6 +31,14 @@ void test_Summe_1(void)
TEST_ASSERT_EQUAL_INT(expected, result);
}
void test_Summe_2(void)
{
int result, expected = 0;
result = berechneSumme(5,2);
#endif //TEST