code: def test_value(self, delay_test_time: float):
      resize = SimulateDelay(delay_time=delay_test_time)
      start: float = time.time()
      _ = resize(self.imt[0])
      stop: float = time.time()
      measured_approximate: float = stop - start
      np.testing.assert_allclose(
          delay_test_time, measured_approximate, rtol=0.5
      )
  
file_path: MONAI/tests/test_simulatedelay.py
imports: from __future__ import annotations
  import time
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.transforms.utility.array import SimulateDelay
  from tests.utils import NumpyImageTestCase2D
label_desc: Use image node_id 1 for calling the TestSimulateDelay obj's underlying member method code with example usage: obj.test_value(delay_test_time) without return types