示例#1
0
 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'
示例#2
0
 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'