diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 3c10c4b..a49ef97 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -21,4 +21,9 @@ void test_squareRoot(void) { TEST_ASSERT_EQUAL_FLOAT(3.0, result); } +void test_cube(void) { + float result = cube(2.0); + TEST_ASSERT_EQUAL_FLOAT(8.0, result); +} + #endif \ No newline at end of file