diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index a49ef97..26c8030 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -26,4 +26,10 @@ void test_cube(void) { TEST_ASSERT_EQUAL_FLOAT(8.0, result); } +void test_cubeRoot(void) { + float result = cubeRoot(27.0); + TEST_ASSERT_EQUAL_FLOAT(3.0, result); + // Add more test cases for different inputs and expected outputs +} + #endif \ No newline at end of file