tests
tests/simu.py
Go to the documentation of this file.
1
import
unittest
2
3
from
dynamic_graph.tutorial.simu
import
build_graph
4
5
6
class
DynamicGraphTutorialTest
(unittest.TestCase):
7
def
test_simu
(self):
8
s, f, a =
build_graph
()
9
self.assertEqual(a.getCartMass(), 1)
10
11
12
if
__name__ ==
"__main__"
:
13
unittest.main()
simu.DynamicGraphTutorialTest.test_simu
def test_simu(self)
Definition:
tests/simu.py:7
simu.DynamicGraphTutorialTest
Definition:
tests/simu.py:6
simu.build_graph
def build_graph()
Definition:
src/dynamic_graph/tutorial/simu.py:7
dynamic-graph-tutorial
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Tue Jun 20 2023 02:35:58