Browse Source

Test 6 I win

remotes/origin/Celine
Celine Khazarian 11 months ago
parent
commit
1c67ee7bef
  1. 13
      src/test/c/test_SchereSteinPapier.c

13
src/test/c/test_SchereSteinPapier.c

@ -75,3 +75,16 @@ void test_SchereSteinPapier_Win_SpielerV1(void)
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);
}
void test_SchereSteinPapier_Win_SpielerV2(void)
{
/* arrange */
int expected = 1;
int actual;
/* act */
actual = game('2', '1');
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);
}
Loading…
Cancel
Save