def test_can_player_win(self): self.assertEqual(model.can_player_win(model.X), None) self.assertEqual(model.can_player_win(model.O), None)
def can_win(): """Return tuple representing space""" global computer_flag return model.can_player_win(computer_flag) or can_opponent_win()