Browse Source

test_Summe_1 Start = 1 und Ende = 10

master
Justin Trausch 11 months ago
parent
commit
e2b3066922
  1. 10
      test/test_ProduktSumme.c

10
test/test_ProduktSumme.c

@ -22,5 +22,15 @@ void test_produkt_1(void)
TEST_ASSERT_EQUAL_INT(expected, result); 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 #endif //TEST
Loading…
Cancel
Save