code: def test_check_each_transform(
      targets, bbox_params, keypoint_params, expected
  ):
      image = np.empty([100, 100], dtype=np.uint8)
      augs = Compose(
          [Crop(0, 0, 50, 50), PadIfNeeded(100, 100)],
          bbox_params=bbox_params,
          keypoint_params=keypoint_params,
      )
      res = augs(image=image, **targets)
  
      for key, item in expected.items():
          assert np.all(np.array(item) == np.array(res[key]))
  
imports: from __future__ import absolute_import
  import typing
  from unittest import mock
  from unittest.mock import MagicMock, Mock, call
  import cv2
  import numpy
  import pytest
  from albumentations import BasicTransform, Blur, ChannelShuffle, Crop, HorizontalFlip, MedianBlur, Normalize, PadIfNeeded, Resize, Rotate
  from albumentations.core.bbox_utils import check_bboxes
  from albumentations.core.composition import BaseCompose, BboxParams, Compose, KeypointParams, OneOf, OneOrOther, PerChannel, ReplayCompose, Sequential, SomeOf
  from albumentations.core.transforms_interface import DualTransform, ImageOnlyTransform, to_tuple
  from .utils import get_filtered_transforms
label_desc: Use image node_id 24 for calling a global function with example usage: test_check_each_transform(targets, bbox_params, keypoint_params, expected) without return types