|
@ -184,4 +184,10 @@ void test_radiansToDegrees(void) { |
|
|
TEST_ASSERT_EQUAL_FLOAT(90.0, result); |
|
|
TEST_ASSERT_EQUAL_FLOAT(90.0, result); |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_logarithmPlusOne(void) { |
|
|
|
|
|
float result = logarithmPlusOne(10.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_FLOAT(2.0, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
#endif |
|
|
#endif |