Files
PythonRobotics/tests/test_model_predictive_speed_and_steer_control.py
Atsushi Sakai 98f9b22465 add main script for missing tests (#461)
* add main script for missing tests

* Fix CodeQL warning
2021-01-16 16:07:28 +09:00

18 lines
390 B
Python

import sys
if 'cvxpy' in sys.modules: # pragma: no cover
from PathTracking.model_predictive_speed_and_steer_control \
import model_predictive_speed_and_steer_control as m
def test_1():
m.show_animation = False
m.main()
def test_2():
m.show_animation = False
m.main2()
if __name__ == '__main__':
conftest.run_this_test(__file__)