code: def test_value(self, p):
      scaler = RandScaleIntensityFixedMean(prob=1.0, factors=0.5)
      scaler.set_random_state(seed=0)
      im = p(self.imt)
      result = scaler(im)
      np.random.seed(0)
      # simulate the randomize() of transform
      np.random.random()
      mn = im.mean()
      im = im - mn
      expected = (1 + np.random.uniform(low=-0.5, high=0.5)) * im
      expected = expected + mn
      assert_allclose(result, expected, type_test="tensor", atol=1e-7)
  
file_path: MONAI/tests/test_rand_scale_intensity_fixed_mean.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.transforms import RandScaleIntensityFixedMean
  from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, assert_allclose
label_desc: Use image node_id 1 for calling the TestRandScaleIntensity obj's underlying member method code with example usage: obj.test_value(p) without return types