code: def test_set_operation_prec_array(a, func, grid_size):
      actual = func([a, a], point, grid_size=grid_size)
      assert actual.shape == (2,)
      assert isinstance(actual[0], Geometry)
  
      # results should match the operation when the precision is previously set
      # to same grid_size
      b = shapely.set_precision(a, grid_size=grid_size)
      point2 = shapely.set_precision(point, grid_size=grid_size)
      expected = func([b, b], point2)
  
      assert shapely.equals(
          shapely.normalize(actual), shapely.normalize(expected)
      ).all()
  
imports: import numpy
  import pytest
  import shapely
  from shapely import Geometry, GeometryCollection, Polygon
  from shapely.errors import UnsupportedGEOSVersionError
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import all_types, empty, ignore_invalid, point, polygon
label_desc: Use image node_id 4 for calling a global function with example usage: test_set_operation_prec_array(a, func, grid_size) without return types