code: def test_correct_results(self, _, args, input_image, expected):
      converter = KeepLargestConnectedComponent(**args)
      result = converter(input_image)
      assert_allclose(result, expected, type_test="tensor")
  
file_path: MONAI/tests/test_keep_largest_connected_component.py
imports: from __future__ import annotations
  import unittest
  from copy import deepcopy
  import torch
  import torch.nn.functional
  from parameterized import parameterized
  from monai.transforms import KeepLargestConnectedComponent
  from monai.transforms.utils_pytorch_numpy_unification import moveaxis
  from monai.utils.type_conversion import convert_to_dst_type
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestKeepLargestConnectedComponent obj's underlying member method code with example usage: obj.test_correct_results(_, args, input_image, expected) without return types