code: def test_split():
      def split(mode):
          layers = hopper(mode).split()
          return [(i.mode, i.size[0], i.size[1]) for i in layers]
  
      assert split("1") == [("1", 128, 128)]
      assert split("L") == [("L", 128, 128)]
      assert split("I") == [("I", 128, 128)]
      assert split("F") == [("F", 128, 128)]
      assert split("P") == [("P", 128, 128)]
      assert split("RGB") == [
          ("L", 128, 128),
          ("L", 128, 128),
          ("L", 128, 128),
      ]
      assert split("RGBA") == [
          ("L", 128, 128),
          ("L", 128, 128),
          ("L", 128, 128),
          ("L", 128, 128),
      ]
      assert split("CMYK") == [
          ("L", 128, 128),
          ("L", 128, 128),
          ("L", 128, 128),
          ("L", 128, 128),
      ]
      assert split("YCbCr") == [
          ("L", 128, 128),
          ("L", 128, 128),
          ("L", 128, 128),
      ]
  
imports: from PIL import Image, features
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 1 for calling a global function with example usage: test_split() and returns: unknown