From 70b02b5a8b049df8558195e210c0226a7d26945f Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:16:51 +0100 Subject: [PATCH] Test 2 Stein tie --- 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 b50a01d..041643e 100644 --- a/src/test/c/test_SchereSteinPapier.c +++ b/src/test/c/test_SchereSteinPapier.c @@ -20,6 +20,19 @@ void test_SchereSteinPapier_Tie_Schere(void) /* act */ actual = game('1', '1'); + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} + +void test_SchereSteinPapier_Tie_Stein(void) +{ + /* arrange */ + int expected = -1; + int actual; + + /* act */ + actual = game('2', '2'); + /* assert */ TEST_ASSERT_EQUAL_INT(expected, actual); } \ No newline at end of file