From e211f83bb498498243e8ea94249735ced7d4f6c6 Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:13:28 +0100 Subject: [PATCH] Test 1 Schere tie --- src/test/c/test_SchereSteinPapier.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/test/c/test_SchereSteinPapier.c diff --git a/src/test/c/test_SchereSteinPapier.c b/src/test/c/test_SchereSteinPapier.c new file mode 100644 index 0000000..b50a01d --- /dev/null +++ b/src/test/c/test_SchereSteinPapier.c @@ -0,0 +1,25 @@ + +#include "unity.h" + +#include "SchereSteinPapier.h" + +void setUp(void) +{ +} + +void tearDown(void) +{ +} + +void test_SchereSteinPapier_Tie_Schere(void) +{ + /* arrange */ + int expected = -1; + int actual; + + /* act */ + actual = game('1', '1'); + + /* assert */ + TEST_ASSERT_EQUAL_INT(expected, actual); +} \ No newline at end of file