Skip to content
Prev Previous commit
Next Next commit
[test] rrt with sovol sampler test
  • Loading branch information
Rojas Rafael committed Nov 28, 2020
commit fbebc7d2289a26fe1565e70cea9c2d7121840061
5 changes: 4 additions & 1 deletion tests/test_rrt_with_sobol_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
from unittest import TestCase

sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../")
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../PathPlanning/RRT")
sys.path.append(os.path.dirname(
os.path.abspath(__file__)) + "/../PathPlanning/RRT")

try:
from PathPlanning.RRT import rrt_with_sobol_sampler as m
except ImportError:
Expand All @@ -22,6 +24,7 @@ def test1(self):
m.show_animation = False
m.main(gx=1.0, gy=1.0)


if __name__ == '__main__': # pragma: no cover
test = Test()
test.test1()