Browse Source

arcTangent Funktion test

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
8bff7262a6
  1. 5
      src/test/test_funktionen.c

5
src/test/test_funktionen.c

@ -167,4 +167,9 @@ void test_arcCosine(void) {
// Add more test cases for different inputs and expected outputs // Add more test cases for different inputs and expected outputs
} }
void test_arcTangent(void) {
float result = arcTangent(1.0);
TEST_ASSERT_EQUAL_FLOAT(0.785398, result);
// Add more test cases for different inputs and expected outputs
}
#endif #endif
Loading…
Cancel
Save