Browse Source

maximum Funktion test

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
da9383d372
  1. 6
      src/test/test_funktionen.c

6
src/test/test_funktionen.c

@ -74,4 +74,10 @@ void test_absoluteDifference(void) {
// Add more test cases for different inputs and expected outputs
}
void test_maximum(void) {
float result = maximum(5.0, 9.0);
TEST_ASSERT_FLOAT_WITHIN(0.000001, 9.0, result);
// Add more test cases for different inputs and expected outputs
}
#endif
Loading…
Cancel
Save