|
|
@ -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 |