Beispiel #1
0
 def test_player(self):
     expected_player = Max
     game = NumericalTicTacToe()
     state = game.get_initial_state()
     self.assertEqual(expected_player, game.player(state))
Beispiel #2
0
    def test_initial_state(self):
        expected_initial_state = self.get_expected_initial_state()

        game = NumericalTicTacToe()

        self.assertEqual(expected_initial_state, game.get_initial_state())