test-smooth-reach.py 403 Bytes
Newer Older
1
2
3
4
5
#!/usr/bin/env python

import unittest
from dynamic_graph.sot.core.smooth_reach import SmoothReach

Guilhem Saurel's avatar
flake8    
Guilhem Saurel committed
6

7
8
9
10
11
12
13
14
15
class SmoothReachTest(unittest.TestCase):
    def test_smooth_reach(self):
        sr = SmoothReach("banana")
        self.assertIn("input(vector)::start (Type Cst)", str(sr.start))
        self.assertIn("output(vector)::goal (Type Fun)", str(sr.goal))


if __name__ == '__main__':
    unittest.main()