tests
python
test-smooth-reach.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
import
unittest
4
from
dynamic_graph.sot.core.smooth_reach
import
SmoothReach
5
6
7
class
SmoothReachTest
(unittest.TestCase):
8
def
test_smooth_reach
(self):
9
sr = SmoothReach(
"banana"
)
10
self.assertIn(
"input(vector)::start (Type Cst)"
, str(sr.start))
11
self.assertIn(
"output(vector)::goal (Type Fun)"
, str(sr.goal))
12
13
14
if
__name__ ==
"__main__"
:
15
unittest.main()
test-smooth-reach.SmoothReachTest
Definition:
test-smooth-reach.py:7
test-smooth-reach.SmoothReachTest.test_smooth_reach
def test_smooth_reach(self)
Definition:
test-smooth-reach.py:8
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26