code: def test_correct_results(self, _, args, input_dict, expected):
      converter = KeepLargestConnectedComponentd(**args)
      result = converter(input_dict)
      assert_allclose(result["img"], expected, type_test="tensor")
  
file_path: MONAI/tests/test_keep_largest_connected_componentd.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.transforms import KeepLargestConnectedComponentd
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestKeepLargestConnectedComponentd obj's underlying member method code with example usage: obj.test_correct_results(_, args, input_dict, expected) without return types