def test_iso_init():
 t1 = Time('2000:001:00:00:00.00000001', scale='tai')
 t2 = Time('3000:001:13:00:00.00000002', scale='tai')
 dt = (t2 - t1)
 assert allclose_jd2(dt.jd2, (((13.0 / 24.0) + (1e-08 / 86400.0)) - 1.0))

def test_iso_init ( ) : t1 = Time ( '2000:001:00:00:00.00000001' , scale = 'tai' ) t2 = Time ( '3000:001:13:00:00.00000002' , scale = 'tai' ) dt = ( t2 - t1 ) assert allclose_jd2 ( dt . jd2 , ( ( ( 13.0 / 24.0 ) + ( 1e-08 / 86400.0 ) ) - 1.0 ) )
check when initializing from iso date .