Browse Source

added test for input 1

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

4
test/fakultaet/test_fakultaet.c

@ -7,3 +7,7 @@ void tearDown(){}
void test_fakultaetOf0() { void test_fakultaetOf0() {
TEST_ASSERT_EQUAL_INT(1, fakultaet(0)); TEST_ASSERT_EQUAL_INT(1, fakultaet(0));
} }
void test_fakultaetOf1() {
TEST_ASSERT_EQUAL_INT(1, fakultaet(1));
}
Loading…
Cancel
Save