code: def test_getitem_slice_points_loc():
      p0 = Point([1, 2])
      p1 = Point([3, 4])
      p2 = Point([5, 6])
      gps = gpd.GeoSeries([p0, p1, p2])
      cus = cuspatial.from_geopandas(gps)
      assert_eq_point(cus[0:1][0], gps[0:1][0])
      assert_eq_point(cus[0:2][0], gps[0:2][0])
      assert_eq_point(cus[1:2][1], gps[1:2][1])
      assert_eq_point(cus[0:3][0], gps[0:3][0])
      assert_eq_point(cus[1:3][1], gps[1:3][1])
      assert_eq_point(cus[2:3][2], gps[2:3][2])
  
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 19 for calling a global function with example usage: test_getitem_slice_points_loc() without return types