code: def test_multipoint_multilinestring_sliced_many(
      multipoint_generator,
      multilinestring_generator,
      slice_twenty,
      slice_index,
  ):
      num_pairs = 20
      max_num_linestring_per_multilinestring = 5
      max_num_segments_per_linestring = 5
      max_num_points_per_multipoint = 5
  
      hpts = gpd.GeoSeries(
          [
              *multipoint_generator(
                  num_pairs, max_num_points_per_multipoint
              )
          ]
      )
      hlines = gpd.GeoSeries(
          [
              *multilinestring_generator(
                  num_pairs,
                  max_num_linestring_per_multilinestring,
                  max_num_segments_per_linestring,
              )
          ]
      )
  
      gpts = from_geopandas(hpts)
      glines = from_geopandas(hlines)
  
      pslice = slice_twenty[slice_index]
      hslicepts = hpts[pslice]
      hslicelines = hlines[pslice]
      slicegpts = gpts[pslice]
      sliceglines = glines[pslice]
      got = pairwise_point_linestring_distance(slicegpts, sliceglines)
      expected = hslicepts.distance(hslicelines)
      got.index = cudf.RangeIndex(pslice.start, pslice.stop)
  
      cudf.testing.assert_series_equal(got, cudf.Series(expected))
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/spatial/distance/test_point_linestring_distance.py
imports: import geopandas
  import pytest
  from shapely.geometry import LineString, MultiLineString, MultiPoint, Point, Polygon
  import cudf
  from cuspatial import pairwise_point_linestring_distance
  from cuspatial.io.geopandas import from_geopandas
label_desc: Use image node_id 8 for calling a global function with example usage: test_multipoint_multilinestring_sliced_many(multipoint_generator, multilinestring_generator, slice_twenty, slice_index) without return types