1from PyObjCTools.TestSupport import *
2from Quartz import *
3
4try:
5    long
6except NameError:
7    long = int
8
9class TestCVHostTime (TestCase):
10    def testFunctions(self):
11        v = CVGetCurrentHostTime()
12        self.assertIsInstance(v, (int, long))
13
14        v = CVGetHostClockFrequency()
15        self.assertIsInstance(v, float)
16
17        v = CVGetHostClockMinimumTimeDelta()
18        self.assertIsInstance(v, (int, long))
19
20if __name__ == "__main__":
21    main()
22