code: def test_value(
      self, in_type, test_data, kwargs, expected_info, expected_map
  ):
      nuclear_prediction = in_type(test_data.astype(float))
      hover_map = in_type(ComputeHoVerMaps()(test_data.astype(int)))
  
      inst_info, inst_map = HoVerNetInstanceMapPostProcessing(**kwargs)(
          nuclear_prediction, hover_map
      )
  
      # instance info
      for key in inst_info:
          assert_allclose(
              inst_info[key]["centroid"],
              expected_info[key]["centroid"],
              type_test=False,
          )
  
      # instance map
      assert_allclose(inst_map, expected_map, type_test=False)
  
file_path: MONAI/tests/test_hovernet_instance_map_post_processing.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.apps.pathology.transforms.post.array import HoVerNetInstanceMapPostProcessing
  from monai.transforms import ComputeHoVerMaps, FillHoles, GaussianSmooth
  from monai.utils import min_version, optional_import
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestHoVerNetInstanceMapPostProcessing obj's underlying member method code with example usage: obj.test_value(in_type, test_data, kwargs, expected_info, expected_map) without return types