def test_Time(): clock = nk.Time() time_passed = clock.get() assert isinstance(time_passed, float)
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)