code: def test_to_shapely_random():
      geos_list = []
      for i in range(250):
          geo = generator(3)
          geos_list.append(geo)
      gi = gpd.GeoDataFrame(
          {"geometry": geos_list, "integer": range(len(geos_list))}
      )
      cugpdf = cuspatial.from_geopandas(gi)
      cugpdf_back = cugpdf.to_geopandas()
      assert_eq_geo_df(gi, cugpdf_back)
  
imports: import geopandas
  import numpy
  import pandas
  import pytest
  from geopandas.testing import assert_geodataframe_equal
  from shapely.affinity import rotate
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  import cuspatial
label_desc: Use image node_id 16 for calling a global function with example usage: test_to_shapely_random() without return types