code: def test_SplitMNIST_benchmark(self):
      benchmark = SplitMNIST(5)
      self.assertEqual(5, len(benchmark.train_stream))
      self.assertEqual(5, len(benchmark.test_stream))
  
      train_sz = 0
      for experience in benchmark.train_stream:
          self.assertIsInstance(experience, ClassificationExperience)
          train_sz += len(experience.dataset)
  
          # Regression test for 572
          load_experience_train_eval(experience)
  
      self.assertEqual(60000, train_sz)
  
      test_sz = 0
      for experience in benchmark.test_stream:
          self.assertIsInstance(experience, ClassificationExperience)
          test_sz += len(experience.dataset)
  
          # Regression test for 572
          load_experience_train_eval(experience)
  
      self.assertEqual(10000, test_sz)
  
file_path: avalanche/tests/benchmarks/classic/test_mnist_benckmarks.py
imports: import unittest
  import avalanche.benchmarks.datasets.external_datasets.mnist
  import avalanche.benchmarks.classic.cmnist
  from avalanche.benchmarks import PermutedMNIST, ClassificationExperience, RotatedMNIST, SplitMNIST
  from tests.unit_tests_utils import load_experience_train_eval, FAST_TEST, is_github_action
label_desc: Use image node_id 3 for calling the MNISTBenchmarksTests obj's underlying member method code with example usage: obj.test_SplitMNIST_benchmark() without return types