code: def test_value(self, input_param, input_data):
      for im_type in TEST_NDARRAYS_ALL:
          with self.subTest(im_type=im_type):
              cropper = RandScaleCrop(**input_param)
              result = cropper(im_type(input_data))
              roi = [
                  (2 - i // 2, 2 + i - i // 2) for i in cropper._size
              ]
              assert_allclose(
                  result,
                  input_data[
                      :, roi[0][0] : roi[0][1], roi[1][0] : roi[1][1]
                  ],
                  type_test="tensor",
              )
  
file_path: MONAI/tests/test_rand_scale_crop.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.transforms import RandScaleCrop
  from tests.croppers import CropTest
  from tests.utils import TEST_NDARRAYS_ALL, assert_allclose
label_desc: Use image node_id 2 for calling the TestRandScaleCrop obj's underlying member method code with example usage: obj.test_value(input_param, input_data) without return types