|
@ -204,4 +204,10 @@ void test_squareRootPlusOne(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_cubeRootPlusOne(void) { |
|
|
|
|
|
float result = cubeRootPlusOne(8.0); |
|
|
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 3.0, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |