From 99b3b3742c93d3c90c0a26ff6a1bc9e65b6fcd1a Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:22:51 +0100 Subject: [PATCH] Test 4 C wins --- src/test/c/test_SchereSteinPapier.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/test/c/test_SchereSteinPapier.c b/src/test/c/test_SchereSteinPapier.c index 80d7503..9f60862 100644 --- a/src/test/c/test_SchereSteinPapier.c +++ b/src/test/c/test_SchereSteinPapier.c @@ -49,3 +49,16 @@ void test_SchereSteinPapier_Tie_Papier(void) /* assert */ TEST_ASSERT_EQUAL_INT(expected, actual); } + +void test_SchereSteinPapier_Win_ComputerV1(void) +{ + /* arrange */ + int expected = 0; + int actual; + + /* act */ + actual = game('2', '3'); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} \ No newline at end of file