|
@ -210,4 +210,10 @@ void test_cubeRootPlusOne(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_sineDegrees(void) { |
|
|
|
|
|
float result = sineDegrees(45.0); |
|
|
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.7071068, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |