code: def test_hitmiss_against_slow():
      np.random.seed(222)
      for i in range(4):
          A = np.random.rand(100, 100)
          A = A > 0.3
          Bc = np.array([[0, 1, 2], [0, 1, 1], [2, 1, 1]])
          W = mahotas.morph.hitmiss(A, Bc)
          assert np.all(W == slow_hitmiss(A, Bc))
  
imports: import mahotas
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_hitmiss_against_slow() without return types