def test_time_ntp_fidelity(self):
        it1 = IonTime()
        ntp_ts = it1.to_ntp64()
        it2 = IonTime.from_ntp64(ntp_ts)
        self.assertEquals(it1.seconds,it2.seconds)
        self.assertTrue(np.abs(it1.useconds - it2.useconds) <= 1)
dataset/ETHPy150Open ooici/pyon/pyon/util/test/test_ion_time.py/IonTimeUnitTest.test_time_ntp_fidelity/original