Browse Source

Test 9 I win

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

13
src/test/c/test_SchereSteinPapier.c

@ -111,6 +111,19 @@ void test_SchereSteinPapier_Win_ComputerV3(void)
/* act */ /* act */
actual = game('3', '1'); actual = game('3', '1');
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);
}
void test_SchereSteinPapier_Win_SpielerV3(void)
{
/* arrange */
int expected = 1;
int actual;
/* act */
actual = game('1', '3');
/* assert */ /* assert */
TEST_ASSERT_EQUAL_INT(expected, actual); TEST_ASSERT_EQUAL_INT(expected, actual);
} }
Loading…
Cancel
Save