Files
PythonRobotics/tests/test_informed_rrt_star.py
Atsushi Sakai 3146531f2f optimize test
2019-02-06 15:59:49 +09:00

25 lines
502 B
Python

from unittest import TestCase
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../")
sys.path.append(os.path.dirname(os.path.abspath(__file__))
+ "/../PathPlanning/InformedRRTStar/")
try:
from PathPlanning.InformedRRTStar import informed_rrt_star as m
except:
raise
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main()
if __name__ == '__main__':
test = Test()
test.test1()