code: def test_get_cross_validation_datasets_random(self):
      original = [1, 2, 3, 4, 5, 6]
      cvs = datasets.get_cross_validation_datasets_random(original, 3)
      # check if each split covers the whole dataset
      for tr, te in cvs:
          reconst = sorted(set(tr).union(te))
          self.assertEqual(reconst, original)
          self.assertEqual(len(tr) + len(te), len(original))
      # check if all validation sets cover the whole dataset
      validation_union = sorted(
          list(cvs[0][1]) + list(cvs[1][1]) + list(cvs[2][1])
      )
      self.assertEqual(validation_union, original)
  
      cvs_a = datasets.get_cross_validation_datasets_random(
          original, 3, seed=5
      )
      cvs_b = datasets.get_cross_validation_datasets_random(
          original, 3, seed=5
      )
      for (tr_a, te_a), (tr_b, te_b) in zip(cvs_a, cvs_b):
          self.assertEqual(set(tr_a), set(tr_b))
          self.assertEqual(set(te_a), set(te_b))
  
imports: import unittest
  from chainer import datasets
  from chainer import testing
label_desc: Use image node_id 3 for calling the TestGetCrossValidationDatasets obj's underlying member method code with example usage: obj.test_get_cross_validation_datasets_random() without return types