Browse Source

test_cosineDegrees test

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

6
src/test/test_funktionen.c

@ -216,4 +216,10 @@ void test_sineDegrees(void) {
// Add more test cases for different inputs and expected outputs
}
void test_cosineDegrees(void) {
float result = cosineDegrees(60.0);
TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.5, result);
// Add more test cases for different inputs and expected outputs
}
#endif
Loading…
Cancel
Save