|
@ -149,5 +149,11 @@ void test_cosine(void) { |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
// Add more test cases for different inputs and expected outputs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void test_tangent(void) { |
|
|
|
|
|
float result = tangent(1.5); |
|
|
|
|
|
TEST_ASSERT_EQUAL_FLOAT(14.101419, result); |
|
|
|
|
|
// Add more test cases for different inputs and expected outputs |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |