code: def test_random_input_nearest_point(
      multipoint_generator, multilinestring_generator
  ):
      num_pairs = 10
      max_num_points_per_multipoint = 10
      max_num_linestring_per_multilinestring = 10
      max_num_segments_per_linestring = 50
  
      points = gpd.GeoSeries(
          [
              *multipoint_generator(
                  num_pairs, max_num_points_per_multipoint
              )
          ]
      )
      linestrings = gpd.GeoSeries(
          [
              *multilinestring_generator(
                  num_pairs,
                  max_num_linestring_per_multilinestring,
                  max_num_segments_per_linestring,
              )
          ]
      )
  
      d_points = cuspatial.from_geopandas(points)
      d_linestrings = cuspatial.from_geopandas(linestrings)
  
      result = cuspatial.pairwise_point_linestring_nearest_points(
          d_points, d_linestrings
      )
      expected = compute_point_linestring_nearest_point_host(
          points, linestrings
      )
  
      assert_geodataframe_equal(
          result.to_pandas(),
          expected,
          check_dtype=False,
          check_index_type=False,
          check_less_precise=True,
      )
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/spatial/nearest_points/test_nearest_points.py
imports: import geopandas
  import pytest
  import shapely
  from geopandas.testing import assert_geodataframe_equal
  from shapely.geometry import LineString, MultiLineString, MultiPoint, Point
  import cuspatial
label_desc: Use image node_id 6 for calling a global function with example usage: test_random_input_nearest_point(multipoint_generator, multilinestring_generator) without return types