Browse Source

refactoring: test squareRoot function rename

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
b74027988b
  1. 2
      src/test/test_funktionen.c

2
src/test/test_funktionen.c

@ -17,7 +17,7 @@ void test_square(void) {
TEST_ASSERT_EQUAL_FLOAT(6.25, result); TEST_ASSERT_EQUAL_FLOAT(6.25, result);
} }
void test_squareRoot(void) {
void test_squareRoot_for_9(void) {
float result = squareRoot(9.0); float result = squareRoot(9.0);
TEST_ASSERT_EQUAL_FLOAT(3.0, result); TEST_ASSERT_EQUAL_FLOAT(3.0, result);
} }

Loading…
Cancel
Save