code: def test_larger_envelope():
      """When the envelope we specify is larger than the
      area of the input feature, the created regions should
      expand to fill that area."""
      mp = MultiPoint(points=[(0.5, 0.5), (1.0, 1.0)])
      poly = load_wkt("POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0))")
  
      regions = voronoi_diagram(mp, envelope=poly)
  
      assert len(regions.geoms) == 2
      assert sum(r.area for r in regions.geoms) == poly.area
  
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 5 for calling a global function with example usage: test_larger_envelope() without return types