code: def crop_test_value(self, input_param, input_arr, expected_array):
      cropper = self.Cropper(**input_param)
      is_map = isinstance(cropper, MapTransform)
      for im_type in TEST_NDARRAYS_ALL:
          with self.subTest(im_type=im_type):
              im = im_type(input_arr)
              input_data = {"img": im} if is_map else im
              result = self.Cropper(**input_param)(input_data)
              out_im = result["img"] if is_map else result
              self.assertIsInstance(out_im, MetaTensor)
              assert_allclose(out_im, expected_array, type_test=False)
  
file_path: MONAI/tests/croppers.py
imports: from __future__ import annotations
  import unittest
  from copy import deepcopy
  import numpy
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms import Randomizable
  from monai.transforms.lazy.functional import apply_pending
  from monai.transforms.transform import MapTransform
  from tests.utils import TEST_NDARRAYS_ALL, assert_allclose
label_desc: Use image node_id 3 for calling the CropTest obj's underlying member method code with example usage: obj.crop_test_value(input_param, input_arr, expected_array) without return types