code: def test_interleaved_point(gs, polys):
      cugs = cuspatial.from_geopandas(gs)
      pd.testing.assert_series_equal(
          cugs.points.x.to_pandas(),
          gs[gs.type == "Point"].x,
          check_index=False,
      )
      pd.testing.assert_series_equal(
          cugs.points.y.to_pandas(),
          gs[gs.type == "Point"].y,
          check_index=False,
      )
      cudf.testing.assert_series_equal(
          cugs.multipoints.x.reset_index(drop=True),
          cudf.Series(
              np.array(
                  [
                      np.array(p.__geo_interface__["coordinates"])[:, 0]
                      for p in gs[gs.type == "MultiPoint"]
                  ]
              ).flatten()
          ).reset_index(drop=True),
      )
      cudf.testing.assert_series_equal(
          cugs.multipoints.y.reset_index(drop=True),
          cudf.Series(
              np.array(
                  [
                      np.array(p.__geo_interface__["coordinates"])[:, 1]
                      for p in gs[gs.type == "MultiPoint"]
                  ]
              ).flatten()
          ).reset_index(drop=True),
      )
      cudf.testing.assert_series_equal(
          cugs.lines.x.reset_index(drop=True),
          cudf.Series(
              np.array([range(11, 34, 2)]).flatten(),
              dtype="float64",
          ).reset_index(drop=True),
      )
      cudf.testing.assert_series_equal(
          cugs.lines.y.reset_index(drop=True),
          cudf.Series(
              np.array([range(12, 35, 2)]).flatten(),
              dtype="float64",
          ).reset_index(drop=True),
      )
      cudf.testing.assert_series_equal(
          cugs.polygons.x.reset_index(drop=True),
          cudf.Series(polys[:, 0], dtype="float64").reset_index(
              drop=True
          ),
      )
      cudf.testing.assert_series_equal(
          cugs.polygons.y.reset_index(drop=True),
          cudf.Series(polys[:, 1], dtype="float64").reset_index(
              drop=True
          ),
      )
  
imports: from enum import Enum
  from numbers import Integral
  import cupy
  import geopandas
  import numpy
  import pandas
  import pytest
  from geopandas.testing import assert_geoseries_equal
  from shapely.affinity import rotate
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  from cudf.testing import assert_series_equal
  import cuspatial
label_desc: Use image node_id 12 for calling a global function with example usage: test_interleaved_point(gs, polys) without return types