示例#1
0
def test_Time():
    clock = nk.Time()
    time_passed = clock.get()
    assert isinstance(time_passed, float)
示例#2
0
 def test_Time(self):
     clock = nk.Time()
     time_passed = clock.get()
     self.assertEqual(isinstance(time_passed, float), True)
 def test_Time(self):
     clock = nk.Time()
     time_passed = clock.get()
     self.assertIsInstance(time_passed, float)