Browse Source

cube funktion test

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
512520d23f
  1. 5
      src/test/test_funktionen.c

5
src/test/test_funktionen.c

@ -21,4 +21,9 @@ void test_squareRoot(void) {
TEST_ASSERT_EQUAL_FLOAT(3.0, result);
}
void test_cube(void) {
float result = cube(2.0);
TEST_ASSERT_EQUAL_FLOAT(8.0, result);
}
#endif
Loading…
Cancel
Save