Browse Source

Unittest CheckForWin_Vertical_2_5_8

remotes/origin/tictactoedev
Sabina Grisi 11 months ago
parent
commit
e15ea6d5dc
  1. 5
      test/test_tictactoe.c

5
test/test_tictactoe.c

@ -38,4 +38,9 @@ void test_CheckForWin_Vertical_1_4_7(void) {
TEST_ASSERT(checkForWin(10, 2, 3, 10, 5, 6, 10, 8, 9, 10) == 1);
}
void test_CheckForWin_Vertical_2_5_8(void) {
// Teste vertikalen Sieg in der zweiten Spalte
TEST_ASSERT(checkForWin(1, 11, 3, 4, 11, 6, 7, 11, 9, 11) == 1);
}
#endif // TEST
Loading…
Cancel
Save