code: def test_pli_points_to_multipoints_first():
      points = cuspatial.GeoSeries([Point(1, 2)])
      offsets = cudf.Series([0, 1, 1, 1])
      mpoints = _pli_points_to_multipoints((offsets, points))
      assert (mpoints.sizes.values_host == [1, 0, 0]).all()
      assert (mpoints.multipoints.xy.values_host == [1, 2]).all()
  
imports: import pandas
  from shapely.geometry import LineString, MultiPoint, Point, Polygon
  import cudf
  import cuspatial
  from cuspatial.core.binpreds.binpred_dispatch import EQUALS_DISPATCH
  from cuspatial.utils.binpred_utils import _open_polygon_rings, _pli_lines_to_multipoints, _pli_points_to_multipoints, _points_and_lines_to_multipoints
label_desc: Use image node_id 16 for calling a global function with example usage: test_pli_points_to_multipoints_first() without return types