code: def test_binary_relational_image(self):
      im = pyvips.Image.black(16, 16) + 128
  
      assert (im > im).avg() == 0
      assert (im >= im).avg() == 255
      assert (im < im).avg() == 0
      assert (im <= im).avg() == 255
      assert (im == im).avg() == 255
      assert (im != im).avg() == 0
  
file_path: pyvips/tests/test_constants.py
imports: import pyvips
label_desc: Use image node_id 10 for calling the TestConstants obj's underlying member method code with example usage: obj.test_binary_relational_image() without return types