Browse Source

refactoring: square function

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

1
src/test/test_funktionen.c

@ -13,6 +13,7 @@ void tearDown(void)
void test_square(void) { void test_square(void) {
float result = square(2.5); float result = square(2.5);
/* assert */
TEST_ASSERT_EQUAL_FLOAT(6.25, result); TEST_ASSERT_EQUAL_FLOAT(6.25, result);
} }

Loading…
Cancel
Save