def METHOD_NAME(self):
    key = "img"
    random_zoom = RandZoomd(
        keys=key, prob=1.0, min_zoom=0.6, max_zoom=0.7, keep_size=True, padding_mode="constant", constant_values=2
    )
    for p in TEST_NDARRAYS_ALL:
        im = p(self.imt[0])
        zoomed = random_zoom({key: im})
        test_local_inversion(random_zoom, zoomed, {key: im}, key)
        np.testing.assert_array_equal(zoomed[key].shape, self.imt.shape[1:])
    random_zoom.prob = 0.0
    self.assertEqual(random_zoom({key: p(self.imt[0])})[key].dtype, torch.float32)