Files
PythonRobotics/tests/test_rrt_star_reeds_shepp.py
2019-07-27 16:32:40 +09:00

29 lines
550 B
Python

import os
import sys
from unittest import TestCase
sys.path.append(os.path.dirname(os.path.abspath(__file__))
+ "/../PathPlanning/RRTStarReedsShepp/")
sys.path.append(os.path.dirname(os.path.abspath(__file__))
+ "/../PathPlanning/ReedsSheppPath/")
try:
import rrt_star_reeds_shepp as m
except:
raise
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main(max_iter=5)
if __name__ == '__main__': # pragma: no cover
test = Test()
test.test1()