From fe06e243f94a4d79d2a00f2a193d3aa86f1ed7ae Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:50:33 +0100 Subject: [PATCH] Test 5 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 9f60862..1fd3146 100644 --- a/src/test/c/test_SchereSteinPapier.c +++ b/src/test/c/test_SchereSteinPapier.c @@ -59,6 +59,19 @@ void test_SchereSteinPapier_Win_ComputerV1(void) /* act */ actual = game('2', '3'); + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + +void test_SchereSteinPapier_Win_SpielerV1(void) +{ + /* arrange */ + int expected = 1; + int actual; + + /* act */ + actual = game('3', '2'); + /* assert */ TEST_ASSERT_EQUAL_INT(expected, actual); } \ No newline at end of file