code: def test_bitwise_invert():
      assert pixel(ImageMath.eval("~Z", Z=Z)) == "I -1"
      assert pixel(ImageMath.eval("~A", A=A)) == "I -2"
      assert pixel(ImageMath.eval("~B", B=B)) == "I -3"
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageMath
label_desc: Use image node_id 13 for calling a global function with example usage: test_bitwise_invert() without return types