code: def _test_xp_random(self, xp, gpus):
      chainerrl.misc.set_random_seed(0, gpus=gpus)
      seed0_0 = xp.random.rand()
      chainerrl.misc.set_random_seed(1, gpus=gpus)
      seed1_0 = xp.random.rand()
      chainerrl.misc.set_random_seed(0, gpus=gpus)
      seed0_1 = xp.random.rand()
      chainerrl.misc.set_random_seed(1, gpus=gpus)
      seed1_1 = xp.random.rand()
      self.assertEqual(seed0_0, seed0_1)
      self.assertEqual(seed1_0, seed1_1)
      self.assertNotEqual(seed0_0, seed1_0)
  
file_path: chainerrl/tests/misc_tests/test_random_seed.py
imports: import random
  import unittest
  import chainer
  from chainer.testing import attr
  import numpy
  import chainerrl
label_desc: Use image node_id 2 for calling the TestSetRandomSeed obj's underlying member method code with example usage: obj._test_xp_random(xp, gpus) without return types