Browse Source

refactoring: added test comments

remotes/origin/fakultaet
Hendrik Sitzmann 11 months ago
parent
commit
b87f8bb2c0
  1. 3
      test/fakultaet/test_fakultaet.c

3
test/fakultaet/test_fakultaet.c

@ -4,14 +4,17 @@
void setUp(){}
void tearDown(){}
// Test for the input zero
void test_fakultaetOf0() {
TEST_ASSERT_EQUAL_INT(1, fakultaet(0));
}
// Test for the input one
void test_fakultaetOf1() {
TEST_ASSERT_EQUAL_INT(1, fakultaet(1));
}
// Test for the input five
void test_fakultaetOf5() {
TEST_ASSERT_EQUAL_INT(120, fakultaet(5));
}
Loading…
Cancel
Save