def test_jd1_is_mult_of_half_or_one():
 t1 = Time('2000:001:00:00:00.00000001', scale='tai')
 assert (np.round((t1.jd1 * 2)) == (t1.jd1 * 2))
 t1 = Time(1.23456789, 12345678.90123456, format='jd', scale='tai')
 assert (np.round(t1.jd1) == t1.jd1)

def test_jd1_is_mult_of_half_or_one ( ) : t1 = Time ( '2000:001:00:00:00.00000001' , scale = 'tai' ) assert ( np . round ( ( t1 . jd1 * 2 ) ) == ( t1 . jd1 * 2 ) ) t1 = Time ( 1.23456789 , 12345678.90123456 , format = 'jd' , scale = 'tai' ) assert ( np . round ( t1 . jd1 ) == t1 . jd1 )
check that jd1 is a multiple of 0 .