code: def test_cucim_sampling(self, sampling, input, expected_output):
      input_ = torch.tensor(input, device="cuda")
      transform = DistanceTransformEDT(sampling=sampling)
      output = transform(input_)
      assert_allclose(
          cp.asnumpy(output),
          cp.asnumpy(expected_output),
          atol=1e-4,
          rtol=1e-4,
          type_test=False,
      )
  
file_path: MONAI/tests/test_distance_transform_edt.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.transforms import DistanceTransformEDT, DistanceTransformEDTd
  from tests.utils import HAS_CUPY, assert_allclose, optional_import, skip_if_no_cuda
label_desc: Use image node_id 5 for calling the TestDistanceTransformEDT obj's underlying member method code with example usage: obj.test_cucim_sampling(sampling, input, expected_output) without return types