Browse Source

Unittest CheckForWin_Vertical_3_6_9

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

5
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
Loading…
Cancel
Save