code: def test_RotatedMNIST_benchmark(self):
      benchmark = RotatedMNIST(3)
      self.assertEqual(3, len(benchmark.train_stream))
      self.assertEqual(3, len(benchmark.test_stream))
  
      for experience in benchmark.train_stream:
          self.assertIsInstance(experience, ClassificationExperience)
          self.assertEqual(60000, len(experience.dataset))
  
          load_experience_train_eval(experience)
  
      for experience in benchmark.test_stream:
          self.assertIsInstance(experience, ClassificationExperience)
          self.assertEqual(10000, len(experience.dataset))
  
          load_experience_train_eval(experience)
  
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 5 for calling the MNISTBenchmarksTests obj's underlying member method code with example usage: obj.test_RotatedMNIST_benchmark() without return types