Browse Source

squareRootPlusOne test

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
42fdd85b3c
  1. 7
      src/test/test_funktionen.c

7
src/test/test_funktionen.c

@ -197,4 +197,11 @@ void test_naturalLogarithmPlusOne(void) {
// Add more test cases for different inputs and expected outputs
}
void test_squareRootPlusOne(void) {
float result = squareRootPlusOne(9.0);
TEST_ASSERT_EQUAL_FLOAT(4.0, result);
// Add more test cases for different inputs and expected outputs
}
#endif
Loading…
Cancel
Save