From b0da9f98c331e1271aa690ab63a5d61d8ee1be5d Mon Sep 17 00:00:00 2001 From: Sabina Grisi Date: Fri, 9 Feb 2024 23:14:14 +0100 Subject: [PATCH] Unittest CheckForWin_Vertical_3_6_9 --- test/test_tictactoe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_tictactoe.c b/test/test_tictactoe.c index 971501a..08d3260 100644 --- a/test/test_tictactoe.c +++ b/test/test_tictactoe.c @@ -43,4 +43,9 @@ void test_CheckForWin_Vertical_2_5_8(void) { TEST_ASSERT(checkForWin(1, 11, 3, 4, 11, 6, 7, 11, 9, 11) == 1); } +void test_CheckForWin_Vertical_3_6_9(void) { + // Teste vertikalen Sieg in der dritten Spalte + TEST_ASSERT(checkForWin(1, 2, 11, 4, 5, 11, 7, 8, 11, 11) == 1); +} + #endif // TEST \ No newline at end of file