|
|
@ -190,4 +190,11 @@ void test_logarithmPlusOne(void) { |
|
|
|
TEST_ASSERT_EQUAL_FLOAT(2.0, result); |
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
} |
|
|
|
|
|
|
|
void test_naturalLogarithmPlusOne(void) { |
|
|
|
float result = naturalLogarithmPlusOne(10.0); |
|
|
|
TEST_ASSERT_EQUAL_FLOAT(3.302585, result); |
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
|
|
} |
|
|
|
#endif |