Browse Source

test_tangentDegrees test

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
51f5789b87
  1. 9
      src/test/test_funktionen.c

9
src/test/test_funktionen.c

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