From d98604158c56f67d47ad2f9481e6498ee469b415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ktu=C4=9F=20Karaka=C5=9Fl=C4=B1?= <20567087+goktug97@users.noreply.github.com> Date: Tue, 15 Oct 2019 22:03:28 +0300 Subject: [PATCH] add test for the rectangle robot type --- tests/test_dynamic_window_approach.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_dynamic_window_approach.py b/tests/test_dynamic_window_approach.py index ab2e0a27..de371f4a 100644 --- a/tests/test_dynamic_window_approach.py +++ b/tests/test_dynamic_window_approach.py @@ -17,7 +17,12 @@ class Test(TestCase): m.show_animation = False m.main(gx=1.0, gy=1.0) + def test2(self): + m.show_animation = False + m.main(gx=1.0, gy=1.0, robot_type='rectangle') + if __name__ == '__main__': # pragma: no cover test = Test() test.test1() + test.test2()