code: def test_sanity():
      ImageOps.autocontrast(hopper("L"))
      ImageOps.autocontrast(hopper("RGB"))
  
      ImageOps.autocontrast(hopper("L"), cutoff=10)
      ImageOps.autocontrast(hopper("L"), cutoff=(2, 10))
      ImageOps.autocontrast(hopper("L"), ignore=[0, 255])
      ImageOps.autocontrast(hopper("L"), mask=hopper("L"))
      ImageOps.autocontrast(hopper("L"), preserve_tone=True)
  
      ImageOps.colorize(hopper("L"), (0, 0, 0), (255, 255, 255))
      ImageOps.colorize(hopper("L"), "black", "white")
  
      ImageOps.pad(hopper("L"), (128, 128))
      ImageOps.pad(hopper("RGB"), (128, 128))
  
      ImageOps.contain(hopper("L"), (128, 128))
      ImageOps.contain(hopper("RGB"), (128, 128))
  
      ImageOps.cover(hopper("L"), (128, 128))
      ImageOps.cover(hopper("RGB"), (128, 128))
  
      ImageOps.crop(hopper("L"), 1)
      ImageOps.crop(hopper("RGB"), 1)
  
      ImageOps.deform(hopper("L"), deformer)
      ImageOps.deform(hopper("RGB"), deformer)
  
      ImageOps.equalize(hopper("L"))
      ImageOps.equalize(hopper("RGB"))
  
      ImageOps.expand(hopper("L"), 1)
      ImageOps.expand(hopper("RGB"), 1)
      ImageOps.expand(hopper("L"), 2, "blue")
      ImageOps.expand(hopper("RGB"), 2, "blue")
  
      ImageOps.fit(hopper("L"), (128, 128))
      ImageOps.fit(hopper("RGB"), (128, 128))
  
      ImageOps.flip(hopper("L"))
      ImageOps.flip(hopper("RGB"))
  
      ImageOps.grayscale(hopper("L"))
      ImageOps.grayscale(hopper("RGB"))
  
      ImageOps.invert(hopper("1"))
      ImageOps.invert(hopper("L"))
      ImageOps.invert(hopper("RGB"))
  
      ImageOps.mirror(hopper("L"))
      ImageOps.mirror(hopper("RGB"))
  
      ImageOps.posterize(hopper("L"), 4)
      ImageOps.posterize(hopper("RGB"), 4)
  
      ImageOps.solarize(hopper("L"))
      ImageOps.solarize(hopper("RGB"))
  
      ImageOps.exif_transpose(hopper("L"))
      ImageOps.exif_transpose(hopper("RGB"))
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageDraw, ImageOps, ImageStat, features
  from .helper import assert_image_equal, assert_image_similar, assert_image_similar_tofile, assert_tuple_approx_equal, hopper
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types