Browse Source

ceilingValue Funktion test

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

6
src/test/test_funktionen.c

@ -62,4 +62,10 @@ void test_floorValue(void) {
TEST_ASSERT_EQUAL_FLOAT(5.0, result);
}
void test_ceilingValue(void) {
float result = ceilingValue(5.2);
TEST_ASSERT_EQUAL_FLOAT(6.0, result);
// Add more test cases for different inputs and expected outputs
}
#endif
Loading…
Cancel
Save