code: def test_logical_le():
      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 1"
      assert pixel(ImageMath.eval("B<=A", A=A, B=B)) == "I 0"
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageMath
label_desc: Use image node_id 22 for calling a global function with example usage: test_logical_le() without return types