diff --git a/test/test_tictactoe.c b/test/test_tictactoe.c index bbee7bf..47d4c21 100644 --- a/test/test_tictactoe.c +++ b/test/test_tictactoe.c @@ -22,4 +22,9 @@ void test_CheckForWin_Horizontal_1_2_3(void) { TEST_ASSERT(checkForWin(10, 10, 10, 4, 5, 6, 7, 8, 9, 10) == 1); } +void test_CheckForWin_Horizontal_4_5_6(void) { + // Teste horizontalen Sieg in der zweiten Zeile + TEST_ASSERT(checkForWin(1, 2, 3, 11, 11, 11, 7, 8, 9, 11) == 1); +} + #endif // TEST \ No newline at end of file