code: def test_transform(self):
      transform = RandomOrder(self.pipeline)
      results = transform(copy.deepcopy(self.results))
      self.assertEqual(results["img_shape"], self.results["img_shape"])
      self.assertEqual(
          results["gt_bboxes"].shape, self.results["gt_bboxes"].shape
      )
      self.assertEqual(
          results["gt_bboxes_labels"], self.results["gt_bboxes_labels"]
      )
      self.assertEqual(
          results["gt_ignore_flags"], self.results["gt_ignore_flags"]
      )
      self.assertEqual(
          results["gt_masks"].masks.shape,
          self.results["gt_masks"].masks.shape,
      )
      self.assertEqual(
          results["gt_seg_map"].shape, self.results["gt_seg_map"].shape
      )
  
file_path: mmdetection/tests/test_datasets/test_transforms/test_wrappers.py
imports: import copy
  import os.path
  import unittest
  from mmcv.transforms import Compose
  from mmdet.datasets.transforms import MultiBranch, RandomOrder
  from mmdet.utils import register_all_modules
  from .utils import construct_toy_data
label_desc: Use image node_id 2 for calling the TestRandomOrder obj's underlying member method code with example usage: obj.test_transform() without return types