Browse Source

Unittest CheckForWin_Horizontal_7_8_9

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

5
test/test_tictactoe.c

@ -27,4 +27,9 @@ void test_CheckForWin_Horizontal_4_5_6(void) {
TEST_ASSERT(checkForWin(1, 2, 3, 11, 11, 11, 7, 8, 9, 11) == 1); TEST_ASSERT(checkForWin(1, 2, 3, 11, 11, 11, 7, 8, 9, 11) == 1);
} }
void test_CheckForWin_Horizontal_7_8_9(void) {
// Teste horizontalen Sieg in der dritten Zeile
TEST_ASSERT(checkForWin(1, 2, 3, 4, 5, 6, 11, 11, 11, 11) == 1);
}
#endif // TEST #endif // TEST
Loading…
Cancel
Save