From 2a994b5cc5f5a6366c8032300cb8a0c9abe98697 Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:18:38 +0100 Subject: [PATCH] Test 3 Papier tie --- src/test/c/test_SchereSteinPapier.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/test/c/test_SchereSteinPapier.c b/src/test/c/test_SchereSteinPapier.c index 041643e..80d7503 100644 --- a/src/test/c/test_SchereSteinPapier.c +++ b/src/test/c/test_SchereSteinPapier.c @@ -35,4 +35,17 @@ void test_SchereSteinPapier_Tie_Stein(void) /* assert */ TEST_ASSERT_EQUAL_INT(expected, actual); -} \ No newline at end of file +} + +void test_SchereSteinPapier_Tie_Papier(void) +{ + /* arrange */ + int expected = -1; + int actual; + + /* act */ + actual = game('3', '3'); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +}