|
@ -222,4 +222,13 @@ void test_cosineDegrees(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_tangentDegrees(void) { |
|
|
|
|
|
float result = tangentDegrees(30.0); |
|
|
|
|
|
TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.5773503, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |