Browse Source

Test 4 C wins

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

13
src/test/c/test_SchereSteinPapier.c

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