code: def test_rotate_ground_truth():
      (
          standard_image_directory,
          ground_truth_image_directory,
      ) = create_temporary_data()
  
      num_samples = 10
  
      p = Augmentor.Pipeline(standard_image_directory)
      p.ground_truth(ground_truth_image_directory)
  
      p.rotate90(probability=1)
      p.sample(num_samples)
  
      generated_files = glob.glob(
          os.path.join(standard_image_directory, "output/*")
      )
      assert (num_samples * 2) == len(generated_files)
  
      destroy_temporary_data(
          standard_image_directory, ground_truth_image_directory
      )
  
      # Repeat for single image lists
      (
          standard_image_directory,
          ground_truth_image_directory,
      ) = create_temporary_data()
  
      num_samples = 10
  
      p = Augmentor.Pipeline(standard_image_directory)
  
      p.rotate90(probability=1)
      p.sample(num_samples)
  
      generated_files = glob.glob(
          os.path.join(standard_image_directory, "output/*")
      )
      assert num_samples == len(generated_files)
  
      destroy_temporary_data(
          standard_image_directory, ground_truth_image_directory
      )
  
imports: import pytest
  import os
  import sys
  import Augmentor
  import tempfile
  import io
  import shutil
  import glob
  import random
  import numpy
  from PIL import Image
  from Augmentor.Operations import CropRandom, HSVShifting
label_desc: Use image node_id 9 for calling a global function with example usage: test_rotate_ground_truth() without return types