code: def testAllreduce(self):
      rank = self.INTERCOMM.Get_rank()
      size = self.INTERCOMM.Get_size()
      rsize = self.INTERCOMM.Get_remote_size()
      for op in (MPI.SUM, MPI.MAX, MPI.MIN, MPI.PROD):
          value = self.INTERCOMM.allreduce(rank, op)
          if op == MPI.SUM:
              self.assertEqual(value, cumsum(range(rsize)))
          elif op == MPI.PROD:
              self.assertEqual(value, cumprod(range(rsize)))
          elif op == MPI.MAX:
              self.assertEqual(value, rsize - 1)
          elif op == MPI.MIN:
              self.assertEqual(value, 0)
  
imports: from mpi4py import MPI
  import mpiunittest
  from functools import reduce
label_desc: Use image node_id 10 for calling the BaseTestCCOObjInter obj's underlying member method code with example usage: obj.testAllreduce() without return types