code: def test_negative_rect():
      # These two rectangles have the same vertices, but starting from a
      # different point.  (We also drop the last vertex, which is a duplicate.)
      pos_vertices = Rectangle((-3, -2), 3, 2).get_verts()[:-1]
      neg_vertices = Rectangle((0, 0), -3, -2).get_verts()[:-1]
      assert_array_equal(np.roll(neg_vertices, 2, 0), pos_vertices)
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  import pytest
  import matplotlib
  from matplotlib.patches import Annulus, Ellipse, Patch, Polygon, Rectangle, FancyArrowPatch, FancyArrow, BoxStyle, Arc
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
  from matplotlib.transforms import Bbox
  import matplotlib.pyplot
  from matplotlib import collections, colors, patches, path, transforms, rcParams
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: test_negative_rect() without return types