Files
PythonRobotics/tests/test_batch_informed_rrt_star.py
Atsushi Sakai 4c5e3ccc9e fix VisibleDeprecation Warning (#358)
* try coverage

* add python warning setting

* add random seed for test coverage
2020-07-10 23:46:19 +09:00

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()