From 3e017c9170ded3625df5d57ff4a062a658130045 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sun, 28 Jul 2019 20:04:12 +0900 Subject: [PATCH] fix closed RRT star test --- tests/test_closed_loop_rrt_star_car.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_closed_loop_rrt_star_car.py b/tests/test_closed_loop_rrt_star_car.py index f82d3f25..18513ce6 100644 --- a/tests/test_closed_loop_rrt_star_car.py +++ b/tests/test_closed_loop_rrt_star_car.py @@ -1,6 +1,7 @@ -from unittest import TestCase -import sys import os +import sys +from unittest import TestCase + sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../") sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../PathPlanning/ClosedLoopRRTStar/") @@ -17,7 +18,7 @@ class Test(TestCase): def test1(self): m.show_animation = False - m.main(gx=1.0, gy=0.0, gyaw=0.0, maxIter=5) + m.main(gx=1.0, gy=0.0, gyaw=0.0, max_iter=5) if __name__ == '__main__': # pragma: no cover