code: def test_internal_reversed_linestrings_pair():
      linestring1 = cuspatial.GeoSeries(
          [
              LineString([(0, 0), (1, 1), (1, 0), (0, 0)]),
              LineString([(0, 0), (1, 1), (1, 0)]),
          ]
      )
      linestring2 = cuspatial.GeoSeries(
          [
              LineString([(0, 0), (1, 0), (1, 1), (0, 0)]),
              LineString([(1, 0), (1, 1), (0, 0)]),
          ]
      )
      predicate = EQUALS_DISPATCH[
          (linestring1.column_type, linestring2.column_type)
      ]()
      got = predicate._reverse_linestrings(
          linestring1.lines.xy, linestring1.lines.part_offset
      ).to_pandas()
      expected = linestring2.lines.xy.to_pandas()
      pd.testing.assert_series_equal(got, expected)
  
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 2 for calling a global function with example usage: test_internal_reversed_linestrings_pair() without return types