From f774b226c248de9232e0bd5b6f2dbc4852764a41 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 15 Feb 2018 14:22:41 -0800 Subject: [PATCH] add some test --- tests/test_closed_loop_rrt_star_car.py | 16 ++++++++++++++++ ...t_model_predictive_speed_and_steer_control.py | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 tests/test_closed_loop_rrt_star_car.py create mode 100644 tests/test_model_predictive_speed_and_steer_control.py diff --git a/tests/test_closed_loop_rrt_star_car.py b/tests/test_closed_loop_rrt_star_car.py new file mode 100644 index 00000000..40308706 --- /dev/null +++ b/tests/test_closed_loop_rrt_star_car.py @@ -0,0 +1,16 @@ +from unittest import TestCase + +import sys +sys.path.append("./PathPlanning/ClosedLoopRRTStar/") +sys.path.append("./PathPlanning/ReedsSheppPath/") + +from PathPlanning.ClosedLoopRRTStar import closed_loop_rrt_star_car as m + +print(__file__) + + +class Test(TestCase): + + def test1(self): + m.show_animation = False + m.main() diff --git a/tests/test_model_predictive_speed_and_steer_control.py b/tests/test_model_predictive_speed_and_steer_control.py new file mode 100644 index 00000000..07c4d6c8 --- /dev/null +++ b/tests/test_model_predictive_speed_and_steer_control.py @@ -0,0 +1,15 @@ +from unittest import TestCase + +import sys +sys.path.append("./PathTracking/model_predictive_speed_and_steer_control/") + +from PathTracking.model_predictive_speed_and_steer_control import model_predictive_speed_and_steer_control as m + +print(__file__) + + +class Test(TestCase): + + def test1(self): + m.show_animation = False + m.main()