code: def test_multipoint_from_numpy(self):
      # Construct from a numpy array
      geom = MultiPoint(np.array([[0.0, 0.0], [1.0, 2.0]]))
      assert isinstance(geom, MultiPoint)
      assert len(geom.geoms) == 2
      assert dump_coords(geom) == [[(0.0, 0.0)], [(1.0, 2.0)]]
  
file_path: shapely/shapely/tests/geometry/test_multipoint.py
imports: import numpy
  import pytest
  from shapely import MultiPoint, Point
  from shapely.errors import EmptyPartError
  from shapely.geometry.base import dump_coords
  from shapely.tests.geometry.test_multi import MultiGeometryTestCase
label_desc: Use image node_id 2 for calling the TestMultiPoint obj's underlying member method code with example usage: obj.test_multipoint_from_numpy() without return types