code: def _test(lhs, rhs, predicate):
      gpdlhs = lhs.to_geopandas()
      gpdrhs = rhs.to_geopandas()
      got = getattr(lhs, predicate)(rhs).values_host
      expected = getattr(gpdlhs, predicate)(gpdrhs).values
      assert (got == expected).all()
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/binpreds/test_pip_only_binpreds.py
imports: from shapely.geometry import LineString, Point, Polygon
  import cuspatial
label_desc: Use image node_id 1 for calling a global function with example usage: _test(lhs, rhs, predicate) without return types