|
@ -216,4 +216,10 @@ void test_sineDegrees(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_cosineDegrees(void) { |
|
|
|
|
|
float result = cosineDegrees(60.0); |
|
|
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.5, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |