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

@ -23,3 +23,16 @@ void test_SchereSteinPapier_Tie_Schere(void)
/* assert */ /* assert */
TEST_ASSERT_EQUAL_INT(expected, actual); 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