code: def test_edges():
      mp = MultiPoint(points=[(0.5, 0.5), (1.0, 1.0)])
      regions = voronoi_diagram(mp, edges=True)
  
      assert len(regions.geoms) == 1
      # can be LineString or MultiLineString depending on the GEOS version
      assert all(
          r.geom_type.endswith("LineString") for r in regions.geoms
      )
  
file_path: shapely/shapely/tests/legacy/test_voronoi_diagram.py
imports: import numpy
  import pytest
  from shapely.geometry import MultiPoint
  from shapely.ops import voronoi_diagram
  from shapely.wkt import loads
label_desc: Use image node_id 3 for calling a global function with example usage: test_edges() without return types