def test_create_tuple():
 a1 = Angle((1, 30, 0), unit=u.degree)
 assert (a1.value == 1.5)
 a1 = Angle((1, 30, 0), unit=u.hourangle)
 assert (a1.value == 1.5)

def test_create_tuple ( ) : a1 = Angle ( ( 1 , 30 , 0 ) , unit = u . degree ) assert ( a1 . value == 1.5 ) a1 = Angle ( ( 1 , 30 , 0 ) , unit = u . hourangle ) assert ( a1 . value == 1.5 )
tests creation of an angle with a or tuple .