code: def test_multi_geom_conversion(self):
      rects = Rectangles([(0, 0, 1, 1), (3, 2, 2.5, 1.5)])
      geom = rects.geom()
      self.assertIsInstance(geom, MultiPolygon)
      self.assertEqual(len(geom.geoms), 2)
      self.assertEqual(
          np.array(geom.geoms[0].exterior.coords),
          np.array(
              [
                  [1.0, 0.0],
                  [1.0, 1.0],
                  [0.0, 1.0],
                  [0.0, 0.0],
                  [1.0, 0.0],
              ]
          ),
      )
      self.assertEqual(
          np.array(geom.geoms[1].exterior.coords),
          np.array([[2.5, 2], [2.5, 1.5], [3, 1.5], [3, 2], [2.5, 2]]),
      )
  
imports: import numpy
  from holoviews.element.comparison import ComparisonTestCase
  from shapely.geometry import GeometryCollection, Polygon, Point, LineString, LinearRing, MultiPolygon, MultiLineString, MultiPoint
  from geoviews.element import Rectangles, Path, Polygons, Points, Segments
label_desc: Use image node_id 3 for calling the TestRectangles obj's underlying member method code with example usage: obj.test_multi_geom_conversion() without return types