예제 #1
0
 def test_get_plateau_bounds(self):
     controller = Controller(ControllerTestCase.path)
     self.assertEqual(ControllerTestCase.plateau_bounds, controller.get_plateau_bounds(),
                      msg= '{0}'.format(ControllerTestCase.error_list['9']))
예제 #2
0
 def __init__(self, input_file_path):
     controller = Controller(input_file_path)
     self.plateau = RectangularPlateau(controller.get_plateau_bounds())
     self.rover_commands = controller.get_rover_commands()
     self.rovers = []