code: def test_line_locate_point_geom_array():
      point = shapely.points(0, 1)
      actual = shapely.line_locate_point(
          [line_string, linear_ring], point
      )
      np.testing.assert_allclose(actual, [0.0, 3.0])
  
imports: import numpy
  import pytest
  import shapely
  from shapely import GeometryCollection, LinearRing, LineString, MultiLineString, Point
  from shapely.errors import UnsupportedGEOSVersionError
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import empty_line_string, empty_point, line_string, linear_ring, multi_line_string, multi_point, multi_polygon, point, polygon
label_desc: Use image node_id 8 for calling a global function with example usage: test_line_locate_point_geom_array() without return types