code: def test_cerode():
      from mahotas.tests.pymorph_copy import erode as slow_erode
      from mahotas.tests.pymorph_copy import dilate as slow_dilate
  
      np.random.seed(334)
      f = np.random.random_sample((128, 128))
      f = f > 0.9
      assert np.all(
          mahotas.erode(f) == mahotas.cerode(f, np.zeros_like(f))
      )
  
file_path: mahotas/mahotas/tests/test_dilate_erode.py
imports: import numpy
  import mahotas
  import mahotas
label_desc: Use image node_id 5 for calling a global function with example usage: test_cerode() without return types