code: def test_auto_expand_3d(self):
      for p in TEST_NDARRAYS_ALL:
          random_zoom = RandZoom(
              prob=1.0,
              min_zoom=[0.8, 0.7],
              max_zoom=[1.2, 1.3],
              mode="nearest",
              keep_size=False,
          )
          random_zoom.set_random_state(1234)
          test_data = p(np.random.randint(0, 2, size=[2, 2, 3, 4]))
          zoomed = random_zoom(test_data)
          assert_allclose(
              random_zoom._zoom,
              (1.048844, 1.048844, 0.962637),
              atol=1e-2,
              type_test=False,
          )
          assert_allclose(zoomed.shape, (2, 2, 3, 3), type_test=False)
  
file_path: MONAI/tests/test_rand_zoom.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from scipy.ndimage import zoom
  from monai.config import USE_COMPILED
  from monai.transforms import RandZoom
  from monai.utils import InterpolateMode
  from tests.lazy_transforms_utils import test_resampler_lazy
  from tests.utils import TEST_NDARRAYS_ALL, NumpyImageTestCase2D, assert_allclose, test_local_inversion
label_desc: Use image node_id 4 for calling the TestRandZoom obj's underlying member method code with example usage: obj.test_auto_expand_3d() without return types