Skip to content

Commit 9965bf8

Browse files
committed
add test for EKF slam
1 parent 2e5c725 commit 9965bf8

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

tests/test_ekf_slam.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from unittest import TestCase
2+
3+
from SLAM.EKFSLAM import ekf_slam as m
4+
5+
print(__file__)
6+
7+
8+
class Test(TestCase):
9+
10+
def test1(self):
11+
m.show_animation = False
12+
m.main()

tests/test_iterative_closest_point.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest import TestCase
22

3-
from PathPlanning.AStar import a_star as m
3+
from SLAM.iterative_closest_point import iterative_closest_point as m
44

55
print(__file__)
66

0 commit comments

Comments
 (0)