diff --git a/test/test_fakultaet.c b/test/test_fakultaet.c index 2e30f14..37bb5c4 100644 --- a/test/test_fakultaet.c +++ b/test/test_fakultaet.c @@ -12,4 +12,13 @@ void setUp(void) void tearDown(void) { } + +void test_fakultaet_1(void) +{ + int result, expected = 24; + + result = berechneFakultaetInt(4); + + TEST_ASSERT_EQUAL_INT(expected, result); +} #endif //TEST \ No newline at end of file