docstr: Test rectangle footprints
docstr_tok: ["Test","rectangle","footprints"]
code: def test_rectangle_footprint(self):
      """Test rectangle footprints"""
      for i in range(0, 5):
          for j in range(0, 5):
              actual_mask = footprints.rectangle(i, j)
              expected_mask = np.ones((i, j), dtype="uint8")
              assert_equal(expected_mask, actual_mask)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_equal
  from skimage._shared.testing import fetch
  from skimage.morphology import footprints
label_desc: Use image node_id 2 for calling the TestFootprints obj's underlying member method code with example usage: obj.test_rectangle_footprint() without return types