code: def test_same_result(self, im_shape, input_type):
      data = self.get_data(im_shape, input_type)
      alpha = [0.5, 0.8]
      t = RandGibbsNoised(KEYS, 1.0, alpha)
      t.set_random_state(42)
      out1 = t(deepcopy(data))
      t.set_random_state(42)
      out2 = t(deepcopy(data))
      for k in KEYS:
          assert_allclose(
              out1[k], out2[k], rtol=1e-7, atol=0, type_test="tensor"
          )
  
imports: from __future__ import annotations
  import unittest
  from copy import deepcopy
  import numpy
  from parameterized import parameterized
  from monai.data.synthetic import create_test_image_2d, create_test_image_3d
  from monai.transforms import RandGibbsNoised
  from monai.utils.misc import set_determinism
  from monai.utils.module import optional_import
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 5 for calling the TestRandGibbsNoised obj's underlying member method code with example usage: obj.test_same_result(im_shape, input_type) without return types