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