docstr: Tests that the augmentation is applied in order
docstr_tok: ["Tests","that","the","augmentation","is","applied","in","order"]
code: def testSortedAugmentation(self):
      """
      Tests that the augmentation is applied in order
      """
      image = np.random.randint(low=0, high=255, size=(600, 800, 3))
      bboxes = np.array(
          [
              [10, 10, 26, 28, 1],
              [10, 10, 20, 22, 1],
              [10, 11, 20, 21, 1],
              [19, 30, 31, 33, 1],
          ]
      )
      config = [{"flip": {"prob": 0}}, {"flip": {"prob": 1}}]
  
      image_aug, bboxes_aug, aug = self._run_augment(
          config, image, bboxes
      )
      self.assertEqual(aug[0], {"flip": False})
      self.assertEqual(aug[1], {"flip": True})
  
      config = [{"flip": {"prob": 1}}, {"flip": {"prob": 0}}]
  
      image_aug, bboxes_aug, aug = self._run_augment(
          config, image, bboxes
      )
      self.assertEqual(aug[0], {"flip": True})
      self.assertEqual(aug[1], {"flip": False})
  
file_path: luminoth/luminoth/datasets/object_detection_dataset_test.py
imports: import tensorflow
  import numpy
  from easydict import EasyDict
  from luminoth.datasets.object_detection_dataset import ObjectDetectionDataset
label_desc: Use image node_id 3 for calling the ObjectDetectionDatasetTest obj's underlying member method code with example usage: obj.testSortedAugmentation() without return types