code: def test_binary_vector(self):
      im = pyvips.Image.black(16, 16, bands=3) + 128
  
      im += [128, 0, 0]
      im -= [128, 0, 0]
      im *= [2, 1, 1]
      im /= [2, 1, 1]
      im %= [100, 99, 98]
      im += [100, 99, 98]
      im **= [2, 3, 4]
      im **= [1.0 / 2.0, 1.0 / 3.0, 1.0 / 4.0]
      im <<= [1, 2, 3]
      im >>= [1, 2, 3]
      im |= [64, 128, 256]
      im &= [64, 128, 256]
      im ^= [64 + 128, 0, 256 + 128]
  
      assert im.avg() == 128
  
file_path: pyvips/tests/test_constants.py
imports: import pyvips
label_desc: Use image node_id 6 for calling the TestConstants obj's underlying member method code with example usage: obj.test_binary_vector() without return types