code: def test_default_footprint(function):
      footprint = morphology.diamond(radius=1)
      image = np.array(
          [
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 0, 0, 1, 0, 0],
              [0, 0, 1, 1, 1, 0, 0, 1, 0, 0],
              [0, 0, 1, 1, 1, 0, 0, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 1, 1, 1, 1, 1, 1, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          ],
          np.uint8,
      )
      im_expected = function(image, footprint)
      im_test = function(image)
      assert_array_equal(im_expected, im_test)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal, assert_equal
  from scipy import ndimage
  from skimage import data, color, morphology
  from skimage.util import img_as_bool
  from skimage.morphology import binary, footprints, gray
label_desc: Use image node_id 19 for calling a global function with example usage: test_default_footprint(function) without return types