code: def test_length():
      actual = shapely.length(
          [
              point,
              line_string,
              linear_ring,
              polygon,
              polygon_with_hole,
              multi_point,
              multi_polygon,
          ]
      )
      assert actual.tolist() == [0.0, 2.0, 4.0, 8.0, 48.0, 0.0, 4.4]
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  import shapely
  from shapely import GeometryCollection, LineString, MultiPoint, Point, Polygon
  from shapely.tests.common import empty, geometry_collection, ignore_invalid, line_string, linear_ring, multi_line_string, multi_point, multi_polygon, point, point_polygon_testdata, polygon, polygon_with_hole
label_desc: Use image node_id 10 for calling a global function with example usage: test_length() without return types