Browse Source

added test for input 5

remotes/origin/fakultaet
Hendrik Sitzmann 11 months ago
parent
commit
8151f931af
  1. 4
      test/fakultaet/test_fakultaet.c

4
test/fakultaet/test_fakultaet.c

@ -10,4 +10,8 @@ void test_fakultaetOf0() {
void test_fakultaetOf1() {
TEST_ASSERT_EQUAL_INT(1, fakultaet(1));
}
void test_fakultaetOf5() {
TEST_ASSERT_EQUAL_INT(120, fakultaet(5));
}
Loading…
Cancel
Save