code: def test_image_invert():
      for _ in range(10):
          # test for np.uint8 dtype
          image1 = np.random.randint(
              low=0, high=256, size=(100, 100, 3), dtype=np.uint8
          )
          image2 = A.to_float(image1)
          r_int = F.invert(F.invert(image1))
          r_float = F.invert(F.invert(image2))
          r_to_float = A.to_float(r_int)
          assert np.allclose(r_float, r_to_float, atol=0.01)
  
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 16 for calling a global function with example usage: test_image_invert() without return types