Browse Source

arcCosine Funktion test

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

6
src/test/test_funktionen.c

@ -161,4 +161,10 @@ void test_arcSine(void) {
// Add more test cases for different inputs and expected outputs // Add more test cases for different inputs and expected outputs
} }
void test_arcCosine(void) {
float result = arcCosine(0.5);
TEST_ASSERT_EQUAL_FLOAT(1.047198, result);
// Add more test cases for different inputs and expected outputs
}
#endif #endif
Loading…
Cancel
Save