code: def test_xy_array_2D(func):
      actual = func(polygon, [0, 1, 2], [1, 2, 3])
      expected = func(polygon, [[0, 1], [1, 2], [2, 3]])
      np.testing.assert_allclose(actual, expected)
  
imports: from functools import partial
  import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.tests.common import all_types, all_types_z, empty, geometry_collection, ignore_invalid, line_string, linear_ring, point, polygon
label_desc: Use image node_id 10 for calling a global function with example usage: test_xy_array_2D(func) without return types