add a star test and dijkstra test

This commit is contained in:
Atsushi Sakai
2018-02-14 09:16:22 -08:00
parent da82628b33
commit 041ad9fb3c
4 changed files with 77 additions and 48 deletions

12
tests/test_a_star.py Normal file
View File

@@ -0,0 +1,12 @@
from unittest import TestCase
from PathPlanning.AStar import a_star as m
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main()

12
tests/test_dijkstra.py Normal file
View File

@@ -0,0 +1,12 @@
from unittest import TestCase
from PathPlanning.Dijkstra import dijkstra as m
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main()