|
@ -172,4 +172,10 @@ void test_arcTangent(void) { |
|
|
TEST_ASSERT_EQUAL_FLOAT(0.785398, result); |
|
|
TEST_ASSERT_EQUAL_FLOAT(0.785398, result); |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_degreesToRadians(void) { |
|
|
|
|
|
float result = degreesToRadians(90.0); |
|
|
|
|
|
TEST_ASSERT_EQUAL_FLOAT(1.570796, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
#endif |
|
|
#endif |