示例#1
0
def test_move_backward_left():
    driver = Driver()
    driver.move_backward()
    driver.move_left()
    assert driver.angular.value == 0.8
    assert driver.linear.value == -0.2
示例#2
0
def test_move_left_right():
    driver = Driver()
    driver.move_left()
    driver.move_right()
    assert driver.angular.value == -0.8