From 6a7e7a0bc3c3ba1661aafbba5fd4ef2ca6a21b17 Mon Sep 17 00:00:00 2001 From: Sabina Grisi Date: Fri, 9 Feb 2024 23:17:51 +0100 Subject: [PATCH] Unittest CheckForWin_SetUp --- test/test_tictactoe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_tictactoe.c b/test/test_tictactoe.c index 6822d99..323d4c6 100644 --- a/test/test_tictactoe.c +++ b/test/test_tictactoe.c @@ -65,4 +65,9 @@ void test_CheckForWin_Tie(void) { TEST_ASSERT(checkForWin(11, 10, 11, 11, 10, 10, 10, 11, 10, 11) == 0); } +void test_CheckForWin_SetUp(void) { + // Teste Set Up + TEST_ASSERT(checkForWin(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) == 0); +} + #endif // TEST \ No newline at end of file