Browse Source

Test 7 C wins

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

13
src/test/c/test_SchereSteinPapier.c

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