Browse Source

minimum Funktion test

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
10cc458000
  1. 7
      src/test/test_funktionen.c

7
src/test/test_funktionen.c

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