Browse Source

Test 3 Papier tie

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

15
src/test/c/test_SchereSteinPapier.c

@ -35,4 +35,17 @@ void test_SchereSteinPapier_Tie_Stein(void)
/* assert */ /* assert */
TEST_ASSERT_EQUAL_INT(expected, actual); 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