code: def test_split_dataset_n_random(self):
      original = list(range(6))
      subsets = datasets.split_dataset_n_random(original, 2)
      reconst = sorted(set(subsets[0]).union(subsets[1]))
      self.assertEqual(reconst, original)
  
      subsets1 = datasets.split_dataset_n_random(original, 2, seed=3)
      reconst = sorted(set(subsets1[0]).union(subsets1[1]))
      self.assertEqual(reconst, original)
  
      subsets2 = datasets.split_dataset_n_random(original, 2, seed=3)
      self.assertEqual(set(subsets1[0]), set(subsets2[0]))
      self.assertEqual(set(subsets1[1]), set(subsets2[1]))
  
      original = list(range(7))
      subsets = datasets.split_dataset_n_random(original, 3)
      self.assertEqual(len(subsets), 3)
      for subset in subsets:
          self.assertEqual(len(subset), 2)
      reconst = set(subsets[0]).union(subsets[1]).union(subsets[2])
      self.assertEqual(len(reconst), 6)
  
imports: import unittest
  from chainer import datasets
  from chainer import testing
label_desc: Use image node_id 10 for calling the TestSplitDataset obj's underlying member method code with example usage: obj.test_split_dataset_n_random() without return types