def test_ecl_geo():
 gcrs = GCRS((10 * u.deg), (20 * u.deg), distance=(1.5 * R_earth))
 gecl = gcrs.transform_to(GeocentricTrueEcliptic)
 assert quantity_allclose(gecl.distance, gcrs.distance)

def test_ecl_geo ( ) : gcrs = GCRS ( ( 10 * u . deg ) , ( 20 * u . deg ) , distance = ( 1.5 * R_earth ) ) gecl = gcrs . transform_to ( GeocentricTrueEcliptic ) assert quantity_allclose ( gecl . distance , gcrs . distance )
check that the geocentric version at least gets well away from gcrs .