Browse Source

refactoring: Testvariablen verbessert

remotes/origin/habib
Habib 11 months ago
parent
commit
31cb5f1863
  1. 4
      src/test/test_funktionen.c

4
src/test/test_funktionen.c

@ -70,7 +70,9 @@ void test_2_toThePowerOf_7(void)
int expected = 128; int expected = 128;
/* act */ /* act */
actual = power(2, 7);
int base = 2;
int exponent = 7;
actual = power(base, exponent);
/* assert */ /* assert */
TEST_ASSERT_EQUAL_INT(expected, actual); TEST_ASSERT_EQUAL_INT(expected, actual);

Loading…
Cancel
Save