Browse Source

Merge branch 'Areeb' into 'main'

remotes/origin/erwin
fdai7820 11 months ago
parent
commit
a131570515
  1. 12
      src/test/test_duellist_spielesammlung_projekt.c

12
src/test/test_duellist_spielesammlung_projekt.c

@ -459,6 +459,18 @@ void test_generateRandomNumber_withinValidRange(void)
TEST_ASSERT_TRUE(result >= 1 && result <= 100);
}
void test_addition(void)
{
/* arrange */
int a = 5;
int b = 10;
/* act */
int result = addition(a, b);
/* assert */
TEST_ASSERT_EQUAL_INT(15, result);
}

Loading…
Cancel
Save