18 sys.path.insert(1,
"../")
23 from TimeValue
import *
33 OpenRTM_aist.Manager.instance().shutdownManager()
39 ret = self.
tm.set_time(tm)
44 print self.
tm.toDouble()
48 self.assertEqual(tm.sec(),1)
49 self.assertEqual(tm.usec(),0)
54 self.assertEqual(tm.sec(),10)
55 self.assertEqual(tm.usec(),0)
59 self.assertEqual(tm.sec(),2)
60 self.assertEqual(tm.usec(),0)
64 self.assertEqual(tm.sec(),0)
65 self.assertEqual(tm.usec(),900000)
72 if __name__ ==
'__main__':