def test_07_move_backward_off_map(self): mars = main.SurfaceOfMars(50, 50) outcome = main.MyRover([5, 11], "N", mars) outcome.move_x_axis("b") outcome.move_x_axis("b") outcome.move_x_axis("b") outcome.move_x_axis("b") outcome.move_x_axis("b") outcome.move_x_axis("b") outcome.move_x_axis("b") outcome.move_x_axis("b")
def test_01_check_main_py(self): mars = main.SurfaceOfMars(50, 50) outcome = main.MyRover([5, 11], "N", mars)
def test_10_user_defined_movement(self): mars = main.SurfaceOfMars(50, 50) outcome = main.MyRover([5, 11], "N", mars) outcome.get_commands()
def test_08_move_based_on_string_of_characters(self): mars = main.SurfaceOfMars(50, 50) outcome = main.MyRover([5, 11], "N", mars) outcome.move_x_axis("bbbbbbbbbbbb")
def test_06_move_forward_twice(self): mars = main.SurfaceOfMars(50, 50) outcome = main.MyRover([5, 11], "N", mars) outcome.move_x_axis("f") outcome.move_x_axis("f")
def test_02_check_wrong_variable_type(self): mars = main.SurfaceOfMars(50, 50) outcome = main.MyRover("Woof n floof", "haha", mars)