Skip to content

Commit a0d6dbe

Browse files
committed
add PSO simulation test
1 parent f7c81fa commit a0d6dbe

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

test/test_pso_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 PSO path planning and navigation simulation
3+
4+
Author: Erwin Lejeune
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/pso_path_planning")
12+
import pso_path_planning
13+
14+
15+
def test_simulation():
16+
pso_path_planning.show_plot = False
17+
18+
pso_path_planning.main()

0 commit comments

Comments
 (0)