def test_rotate_s_r(self, position_1_1): lawn_mower = LawnMower(position_1_1, 'S') lawn_mower.rotate('R') assert lawn_mower.orientation == 'W'
def test_rotate_w_l(self, position_1_1): lawn_mower = LawnMower(position_1_1, 'W') lawn_mower.rotate('L') assert lawn_mower.orientation == 'S'