Skip to content

Commit 980c665

Browse files
author
Shisato Yano
committed
added unit test of astar planning and navigation
1 parent 4679b94 commit 980c665

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

test/test_astar_path_planning.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"""
2+
Test of A* path planning and navigation simulation
3+
4+
Author: Shisato Yano
5+
"""
6+
7+
from pathlib import Path
8+
import sys
9+
import pytest
10+
11+
sys.path.append(str(Path(__file__).absolute().parent) + "/../src/simulations/path_planning/astar_path_planning")
12+
import astar_path_planning
13+
14+
15+
def test_simulation():
16+
astar_path_planning.show_plot = False
17+
18+
astar_path_planning.main()

0 commit comments

Comments
 (0)