mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
add runtest script
This commit is contained in:
@@ -33,6 +33,7 @@ def calc_potential_field(gx, gy, ox, oy, reso, rr):
|
||||
|
||||
for ix in range(xw):
|
||||
x = ix * reso + minx
|
||||
|
||||
for iy in range(yw):
|
||||
y = iy * reso + miny
|
||||
ug = calc_attractive_potential(x, y, gx, gy)
|
||||
|
||||
2
runtests.sh
Executable file
2
runtests.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
echo "Run test suites! "
|
||||
python -m unittest discover tests
|
||||
Reference in New Issue
Block a user