|
@ -161,4 +161,10 @@ void test_arcSine(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_arcCosine(void) { |
|
|
|
|
|
float result = arcCosine(0.5); |
|
|
|
|
|
TEST_ASSERT_EQUAL_FLOAT(1.047198, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |