code: def test_rotate_crop_border():
      image = np.random.randint(
          low=100, high=256, size=(100, 100, 3), dtype=np.uint8
      )
      border_value = 13
      aug = A.Rotate(
          limit=(45, 45),
          p=1,
          value=border_value,
          border_mode=cv2.BORDER_CONSTANT,
          crop_border=True,
      )
      aug_img = aug(image=image)["image"]
      expected_size = int(np.round(100 / np.sqrt(2)))
      assert aug_img.shape[0] == expected_size
      assert (aug_img == border_value).sum() == 0
  
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 4 for calling a global function with example usage: test_rotate_crop_border() without return types