code: def test_value(self):
      key = "img"
      for p in TEST_NDARRAYS:
          shifter = ShiftIntensityd(keys=[key], offset=1.0)
          result = shifter({key: p(self.imt)})
          expected = self.imt + 1.0
          assert_allclose(result[key], p(expected), type_test="tensor")
  
file_path: MONAI/tests/test_shift_intensityd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from monai.transforms import IntensityStatsd, ShiftIntensityd
  from monai.utils.enums import PostFix
  from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, assert_allclose
label_desc: Use image node_id 1 for calling the TestShiftIntensityd obj's underlying member method code with example usage: obj.test_value() without return types