mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 14:17:59 -05:00
26 lines
457 B
Python
26 lines
457 B
Python
from unittest import TestCase
|
|
import sys
|
|
import os
|
|
import random
|
|
sys.path.append(os.path.dirname(__file__) + "/../")
|
|
try:
|
|
from PathPlanning.BatchInformedRRTStar import batch_informed_rrtstar as m
|
|
except ImportError:
|
|
raise
|
|
|
|
print(__file__)
|
|
|
|
random.seed(12345)
|
|
|
|
|
|
class Test(TestCase):
|
|
|
|
def test1(self):
|
|
m.show_animation = False
|
|
m.main(maxIter=10)
|
|
|
|
|
|
if __name__ == '__main__': # pragma: no cover
|
|
test = Test()
|
|
test.test1()
|