def METHOD_NAME(geodeticrepresentation):
    initial_geodetic = geodeticrepresentation(
        lon=[0.8, 1.3] * u.radian,
        lat=[0.3, 0.98] * u.radian,
        height=[100.0, 367.0] * u.m,
    )
    transformed = CartesianRepresentation.from_representation(initial_geodetic)
    roundtripped = geodeticrepresentation.from_representation(transformed)
    assert_quantity_allclose(initial_geodetic.lon, roundtripped.lon)
    assert_quantity_allclose(initial_geodetic.lat, roundtripped.lat)
    assert_quantity_allclose(initial_geodetic.height, roundtripped.height)