Browse Source

sineDegrees test

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

6
src/test/test_funktionen.c

@ -210,4 +210,10 @@ void test_cubeRootPlusOne(void) {
// Add more test cases for different inputs and expected outputs
}
void test_sineDegrees(void) {
float result = sineDegrees(45.0);
TEST_ASSERT_FLOAT_WITHIN(0.000001, 0.7071068, result);
// Add more test cases for different inputs and expected outputs
}
#endif
Loading…
Cancel
Save