code: def test_binary_image(self):
      im = pyvips.Image.black(16, 16) + 128
      x = im
  
      x += im
      x -= im
      x *= im
      x /= im
      x %= im
      x += im
      x |= im
      x &= im
      x ^= im
  
      assert x.avg() == 0
  
file_path: pyvips/tests/test_constants.py
imports: import pyvips
label_desc: Use image node_id 7 for calling the TestConstants obj's underlying member method code with example usage: obj.test_binary_image() without return types