code: def test_erosion4():
      # erosion4
      mop = ImageMorph.MorphOp(op_name="dilation4")
      count, Aout = mop.apply(A)
      assert count == 12
      assert_img_equal_img_string(
          Aout,
          """
                                       .......
                                       ..111..
                                       .11111.
                                       .11111.
                                       .11111.
                                       ..111..
                                       .......
                                       """,
      )
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageMorph, _imagingmorph
  from .helper import assert_image_equal_tofile, hopper
label_desc: Use image node_id 10 for calling a global function with example usage: test_erosion4() without return types