code: def test_geometry_multipoint_slicing(gs):
      cugs = cuspatial.from_geopandas(gs)
      assert (cugs[:2].multipoints.x == cudf.Series([1, 3])).all()
      assert (cugs[:2].multipoints.y == cudf.Series([2, 4])).all()
      assert (
          cugs[:2].multipoints.xy == cudf.Series([1, 2, 3, 4])
      ).all()
      assert (cugs[2:].multipoints.x == cudf.Series([5, 7])).all()
      assert (cugs[2:].multipoints.y == cudf.Series([6, 8])).all()
      assert (
          cugs[2:].multipoints.xy == cudf.Series([5, 6, 7, 8])
      ).all()
      assert (
          cugs[0:4].multipoints.x == cudf.Series([1, 3, 5, 7])
      ).all()
      assert (
          cugs[0:4].multipoints.y == cudf.Series([2, 4, 6, 8])
      ).all()
      assert (
          cugs[0:4].multipoints.xy
          == cudf.Series([1, 2, 3, 4, 5, 6, 7, 8])
      ).all()
  
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 27 for calling a global function with example usage: test_geometry_multipoint_slicing(gs) without return types