code: def test_skipped_transform_consistency(self, im, in_dtype):
      t1 = RandAffine(prob=0)
      t2 = RandAffine(prob=1, spatial_size=(10, 11))
  
      im, *_ = convert_data_type(im, dtype=in_dtype)
  
      out1 = t1(im)
      out2 = t2(im)
  
      # check same type
      self.assertEqual(type(out1), type(out2))
      # check matching dtype
      self.assertEqual(out1.dtype, out2.dtype)
  
file_path: MONAI/tests/test_rand_affine.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.transforms import RandAffine
  from monai.utils.type_conversion import convert_data_type
  from tests.lazy_transforms_utils import test_resampler_lazy
  from tests.utils import TEST_NDARRAYS_ALL, assert_allclose, is_tf32_env
label_desc: Use image node_id 3 for calling the TestRandAffine obj's underlying member method code with example usage: obj.test_skipped_transform_consistency(im, in_dtype) without return types