mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 16:08:05 -05:00
27 lines
417 B
Python
27 lines
417 B
Python
import os
|
|
import sys
|
|
from unittest import TestCase
|
|
|
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
|
|
"/../PathPlanning/RRTStar/")
|
|
|
|
try:
|
|
import rrt_star as m
|
|
except ImportError:
|
|
raise
|
|
|
|
|
|
print(__file__)
|
|
|
|
|
|
class Test(TestCase):
|
|
|
|
def test1(self):
|
|
m.show_animation = False
|
|
m.main()
|
|
|
|
|
|
if __name__ == '__main__': # pragma: no cover
|
|
test = Test()
|
|
test.test1()
|