Browse Source

Test 2 Stein tie

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

13
src/test/c/test_SchereSteinPapier.c

@ -20,6 +20,19 @@ void test_SchereSteinPapier_Tie_Schere(void)
/* act */
actual = game('1', '1');
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);
}
void test_SchereSteinPapier_Tie_Stein(void)
{
/* arrange */
int expected = -1;
int actual;
/* act */
actual = game('2', '2');
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);
}
Loading…
Cancel
Save