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