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