Files
PythonRobotics/tests/test_inverted_pendulum_mpc_control.py
2020-02-07 20:45:15 +09:00

16 lines
345 B
Python

from unittest import TestCase
import sys
if 'cvxpy' in sys.modules: # pragma: no cover
sys.path.append("./InvertedPendulumCart/inverted_pendulum_mpc_control/")
import inverted_pendulum_mpc_control as m
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main()