Browse Source

Unittest CheckForWin_Horizontal_4_5_6

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

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