code: def test_points_and_lines_to_multipoints_no_points():
      mixed = cuspatial.GeoSeries(
          [
              LineString([(0, 0), (1, 1), (2, 2), (3, 3)]),
              LineString([(5, 5), (6, 6)]),
              LineString([(9, 9), (10, 10), (11, 11)]),
              LineString([(12, 12), (13, 13)]),
          ]
      )
      expected = cuspatial.GeoSeries(
          [
              MultiPoint([(0, 0), (1, 1), (2, 2), (3, 3)]),
              MultiPoint([(5, 5), (6, 6)]),
              MultiPoint([(9, 9), (10, 10), (11, 11)]),
              MultiPoint([(12, 12), (13, 13)]),
          ]
      )
      offsets = [0, 1, 2, 3, 4]
      got = _points_and_lines_to_multipoints(mixed, offsets)
      assert (got.multipoints.xy == expected.multipoints.xy).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 12 for calling a global function with example usage: test_points_and_lines_to_multipoints_no_points() without return types