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()


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26