Browse Source

tangent Funktion test

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
4d4b4f7267
  1. 6
      src/test/test_funktionen.c

6
src/test/test_funktionen.c

@ -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
Loading…
Cancel
Save