diff --git a/test/test_tictactoe.c b/test/test_tictactoe.c index d7ba005..e1453e5 100644 --- a/test/test_tictactoe.c +++ b/test/test_tictactoe.c @@ -54,4 +54,9 @@ void test_CheckForWin_Diagonal_Right_To_Left(void) { TEST_ASSERT(checkForWin(10, 2, 3, 4, 10, 6, 7, 8, 10, 10) == 1); } +void test_CheckForWin_Diagonal_Left_To_Right(void) { + // Teste diagonalen Sieg von rechts oben nach links unten + TEST_ASSERT(checkForWin(1, 2, 11, 4, 11, 6, 11, 8, 9, 11) == 1); +} + #endif // TEST \ No newline at end of file