diff --git a/test/test_tictactoe.c b/test/test_tictactoe.c index 88cccbb..3983cc9 100644 --- a/test/test_tictactoe.c +++ b/test/test_tictactoe.c @@ -32,4 +32,10 @@ void test_CheckForWin_Horizontal_7_8_9(void) { TEST_ASSERT(checkForWin(1, 2, 3, 4, 5, 6, 11, 11, 11, 11) == 1); } +// Testfall für die Funktion checkForWin - Vertikaler Sieg +void test_CheckForWin_Vertical_1_4_7(void) { + // Teste vertikalen Sieg in der ersten Spalte + TEST_ASSERT(checkForWin(10, 2, 3, 10, 5, 6, 10, 8, 9, 10) == 1); +} + #endif // TEST \ No newline at end of file