Files
PythonRobotics/tests/test_rrt_star.py
Atsushi Sakai ffda0acca5 fix test
2019-02-06 16:17:11 +09:00

27 lines
404 B
Python

from unittest import TestCase
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
"/../PathPlanning/RRTStar/")
try:
print(sys.path)
import 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()