test-initialize-euler.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 import unittest
4 
5 import dynamic_graph.sot.core.integrator_euler as ie
6 
7 
8 class OpPointModifierTest(unittest.TestCase):
9  def test_initialize_ie(self):
10  ent = ie.IntegratorEulerVectorDouble("ie")
11  with self.assertRaises(RuntimeError) as cm:
12  ent.initialize()
13  self.assertEqual(
14  str(cm.exception), "The numerator or the denominator is empty."
15  )
16 
17 
18 if __name__ == "__main__":
19  unittest.main()
test-initialize-euler.OpPointModifierTest.test_initialize_ie
def test_initialize_ie(self)
Definition: test-initialize-euler.py:9
test-initialize-euler.OpPointModifierTest
Definition: test-initialize-euler.py:8


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31