code: def test_octahedron_decomposition(function, radius, decomposition):
      """Validate footprint decomposition for various shapes.
  
      comparison is made to the case without decomposition.
      """
      footprint_ndarray = footprints.octahedron(
          radius, decomposition=None
      )
      footprint = footprints.octahedron(
          radius, decomposition=decomposition
      )
      img = _get_decomp_test_data(function, ndim=3)
      func = getattr(binary, function)
      expected = func(img, footprint=footprint_ndarray)
      out = func(img, footprint=footprint)
      assert_array_equal(expected, out)
  
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 14 for calling a global function with example usage: test_octahedron_decomposition(function, radius, decomposition) without return types