def test_turn_right_from_bearing_west_sets_bearing_north(self): rover = Rover((1, 1), "W", self.safe_zone) rover.turn_right() self.assertEqual(rover.bearing, "N")
def test_turn_right_from_bearing_east_sets_bearing_south(self): rover = Rover((1, 1), "E", self.safe_zone) rover.turn_right() self.assertEqual(rover.bearing, "S")