code: def test_pascal_voc_detection():
      train = VOCDetectionTiny()
      name = str(train)
      val = VOCDetectionTiny(splits=(("tiny_motorbike", "test"),))
      name = str(val)
  
      assert train.classes == val.classes
  
      for _ in range(10):
          index = np.random.randint(0, len(train))
          _ = train[index]
  
      for _ in range(10):
          index = np.random.randint(0, len(val))
          _ = val[index]
  
file_path: gluon-cv/tests/unittests/test_data_datasets.py
imports: from __future__ import print_function
  from __future__ import division
  import os
  import mxnet
  import numpy
  import gluoncv
  from gluoncv import data
  from .tiny_datasets import COCODetectionTiny, COCOInstanceTiny, VOCDetectionTiny, VOCSegmentationTiny
  import os.path
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: test_pascal_voc_detection() without return types