code: def test_binary_op_grid_size(op, grid_size):
      geom1 = shapely.box(0, 0, 2.5, 2.5)
      geom2 = shapely.box(2, 2, 3, 3)
  
      result = getattr(geom1, op)(geom2, grid_size=grid_size)
      expected = getattr(shapely, op)(geom1, geom2, grid_size=grid_size)
      assert result == expected
  
imports: import platform
  import weakref
  import numpy
  import pytest
  import shapely
  from shapely import GeometryCollection, LinearRing, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  from shapely.errors import ShapelyDeprecationWarning
  from shapely.testing import assert_geometries_equal
label_desc: Use image node_id 12 for calling a global function with example usage: test_binary_op_grid_size(op, grid_size) without return types