diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 4423ae8..b0f2bd4 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -55,4 +55,11 @@ void test_power(void) { // Add more test cases for different inputs and expected outputs } +void test_factorial(void) { + int result = factorial(5); + TEST_ASSERT_EQUAL_INT(120, result); + // Add more test cases for different inputs and expected outputs +} + + #endif \ No newline at end of file