code: def run_test(s1, s2, expect_offset, expect_geom, expect_ids):
      offset, geoms, ids = pairwise_linestring_intersection(
          cuspatial.from_geopandas(s1), cuspatial.from_geopandas(s2)
      )
  
      assert_series_equal(
          expect_offset, offset.to_pandas(), check_dtype=False
      )
      assert_geoseries_equal(expect_geom, geoms.to_geopandas())
      assert_frame_equal(expect_ids, ids.to_pandas())
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/basicpreds/test_intersections.py
imports: import geopandas
  import pandas
  from geopandas.testing import assert_geoseries_equal
  from pandas.testing import assert_frame_equal, assert_series_equal
  from shapely.geometry import LineString, MultiLineString, Point
  import cuspatial
  from cuspatial.core.binops.intersection import pairwise_linestring_intersection
label_desc: Use image node_id 1 for calling a global function with example usage: run_test(s1, s2, expect_offset, expect_geom, expect_ids) without return types