def setUp(self):
    self.game_string  = """\
      ████████
      ██▶ ← ██
      ████████"""

    self.game = GameInterpreter(self.game_string.replace("      ", "")).do()
    self.minimax_solver = MinimaxSolver(self.game)
class TestThatTieIsChosenInMirroredTwoByOne(unittest.TestCase):
  def setUp(self):
    self.game_string  = """\
      ████████
      ██▶ ← ██
      ████████"""

    self.game = GameInterpreter(self.game_string.replace("      ", "")).do()
    self.minimax_solver = MinimaxSolver(self.game)

  def test_best_moves(self):
    self.assertEqual(
      set(self.minimax_solver.get_best_moves()),
      set([DIRECTIONS.west])
    )