code: def test_color_jitter_float_uint8_equal(
      brightness, contrast, saturation, hue
  ):
      img = np.random.randint(0, 256, [100, 100, 3], dtype=np.uint8)
  
      transform = A.Compose(
          [
              A.ColorJitter(
                  brightness=[brightness, brightness],
                  contrast=[contrast, contrast],
                  saturation=[saturation, saturation],
                  hue=[hue, hue],
                  p=1,
              )
          ]
      )
  
      res1 = transform(image=img)["image"]
      res2 = (
          transform(image=img.astype(np.float32) / 255.0)["image"] * 255
      ).astype(np.uint8)
  
      _max = np.abs(res1.astype(np.int16) - res2.astype(np.int16)).max()
  
      if hue != 0:
          assert _max <= 10, "Max: {}".format(_max)
      else:
          assert _max <= 2, "Max: {}".format(_max)
  
imports: import random
  from functools import partial
  import cv2
  import numpy
  import pytest
  import albumentations
  import albumentations.augmentations.functional
  import albumentations.augmentations.geometric.functional
  from albumentations.augmentations.blur.functional import gaussian_blur
  from .utils import get_dual_transforms, get_image_only_transforms, get_transforms
label_desc: Use image node_id 35 for calling a global function with example usage: test_color_jitter_float_uint8_equal(brightness, contrast, saturation, hue) without return types