We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 358877f commit 0dca82cCopy full SHA for 0dca82c
tests/python/CMakeLists.txt
@@ -3,6 +3,7 @@ SET(${PROJECT_NAME}_PYTHON_TESTS
3
matrix-util
4
op-point-modifier
5
test-parameter-server
6
+ test-smooth-reach
7
)
8
FOREACH(TEST ${${PROJECT_NAME}_PYTHON_TESTS})
9
ADD_PYTHON_UNIT_TEST("py-${TEST}" "tests/python/${TEST}.py")
tests/python/test-smooth-reach.py
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env python
2
+
+import unittest
+from dynamic_graph.sot.core.smooth_reach import SmoothReach
+class SmoothReachTest(unittest.TestCase):
+ def test_smooth_reach(self):
+ sr = SmoothReach("banana")
+ self.assertIn("input(vector)::start (Type Cst)", str(sr.start))
10
+ self.assertIn("output(vector)::goal (Type Fun)", str(sr.goal))
11
12
13
+if __name__ == '__main__':
14
+ unittest.main()
0 commit comments