From 42525ea54aca534aaab8b3567a2eed34971e769f Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:04:32 +0100 Subject: [PATCH] Test 9 I win --- 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 2169409..dba2eca 100644 --- a/src/test/c/test_SchereSteinPapier.c +++ b/src/test/c/test_SchereSteinPapier.c @@ -111,6 +111,19 @@ void test_SchereSteinPapier_Win_ComputerV3(void) /* act */ actual = game('3', '1'); + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + +void test_SchereSteinPapier_Win_SpielerV3(void) +{ + /* arrange */ + int expected = 1; + int actual; + + /* act */ + actual = game('1', '3'); + /* assert */ TEST_ASSERT_EQUAL_INT(expected, actual); } \ No newline at end of file