def test_outcomes_draw(self): game = TicTacToe([['X', 'X', 'O'], ['O', 'O', 'X'], ['X', 'O', 'X']]) self.assertEqual(game.outcomes(), ['D', 'D'])
def test_outcomes_win_second_player(self): game = TicTacToe([['X', 'X', ' '], ['O', 'O', 'O'], [' ', ' ', 'X']]) self.assertEqual(game.outcomes(), ['L', 'W'])