mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 14:48:02 -05:00
Change string to RobotType enum
This commit is contained in:
@@ -19,7 +19,7 @@ class Test(TestCase):
|
||||
|
||||
def test2(self):
|
||||
m.show_animation = False
|
||||
m.main(gx=1.0, gy=1.0, robot_type='rectangle')
|
||||
m.main(gx=1.0, gy=1.0, robot_type=m.RobotType.rectangle)
|
||||
|
||||
|
||||
if __name__ == '__main__': # pragma: no cover
|
||||
|
||||
Reference in New Issue
Block a user