Browse Source

Unittest CheckForWin_SetUp

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

5
test/test_tictactoe.c

@ -65,4 +65,9 @@ void test_CheckForWin_Tie(void) {
TEST_ASSERT(checkForWin(11, 10, 11, 11, 10, 10, 10, 11, 10, 11) == 0); TEST_ASSERT(checkForWin(11, 10, 11, 11, 10, 10, 10, 11, 10, 11) == 0);
} }
void test_CheckForWin_SetUp(void) {
// Teste Set Up
TEST_ASSERT(checkForWin(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) == 0);
}
#endif // TEST #endif // TEST
Loading…
Cancel
Save