def test_init_variations():
 dt_tiny_sec = (dt_tiny.jd2 * 86400.0)
 t1 = (Time(100000000000.0, format='cxcsec') + dt_tiny)
 t2 = Time(100000000000.0, dt_tiny_sec, format='cxcsec')
 t3 = Time(dt_tiny_sec, 100000000000.0, format='cxcsec')
 assert (t1.jd1 == t2.jd1)
 assert (t1.jd2 == t3.jd2)
 assert (t1.jd1 == t2.jd1)
 assert (t1.jd2 == t3.jd2)

def test_init_variations ( ) : dt_tiny_sec = ( dt_tiny . jd2 * 86400.0 ) t1 = ( Time ( 100000000000.0 , format = 'cxcsec' ) + dt_tiny ) t2 = Time ( 100000000000.0 , dt_tiny_sec , format = 'cxcsec' ) t3 = Time ( dt_tiny_sec , 100000000000.0 , format = 'cxcsec' ) assert ( t1 . jd1 == t2 . jd1 ) assert ( t1 . jd2 == t3 . jd2 ) assert ( t1 . jd1 == t2 . jd1 ) assert ( t1 . jd2 == t3 . jd2 )
check that 3 ways of specifying a time + small offset are equivalent .