Browse Source

Test 3 Papier tie

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

13
src/test/c/test_SchereSteinPapier.c

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