Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
u
v
+
Variables
_
a
b
c
d
e
f
g
i
j
l
m
n
p
r
s
u
v
w
+
Typedefs
c
e
f
i
m
q
r
s
v
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Typedefs
b
d
e
f
k
l
m
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
+
Functions
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
Variables
+
Typedefs
c
d
e
f
k
r
s
t
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
v
tests
python
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
Definition:
test-initialize-euler.py:8
test-initialize-euler.OpPointModifierTest.test_initialize_ie
def test_initialize_ie(self)
Definition:
test-initialize-euler.py:9
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26