code: def test_value(
      self, in_type, test_data, kwargs, expected_info, expected_map
  ):
      input = {
          HoVerNetBranch.NP.value: in_type(test_data.astype(float)),
          HoVerNetBranch.HV.value: in_type(
              ComputeHoVerMaps()(test_data.astype(int))
          ),
      }
  
      outputs = HoVerNetInstanceMapPostProcessingd(**kwargs)(input)
      inst_info_key = kwargs.get("instance_info_key", "instance_info")
      inst_map_key = kwargs.get("instance_map_key", "instance_map")
  
      # instance info
      for key in outputs[inst_info_key]:
          assert_allclose(
              outputs[inst_info_key]["centroid"],
              expected_info[key]["centroid"],
              type_test=False,
          )
  
      # instance map
      assert_allclose(
          outputs[inst_map_key], expected_map, type_test=False
      )
  
file_path: MONAI/tests/test_hovernet_instance_map_post_processingd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.apps.pathology.transforms.post.dictionary import HoVerNetInstanceMapPostProcessingd
  from monai.transforms import ComputeHoVerMaps, FillHoles, GaussianSmooth
  from monai.utils import min_version, optional_import
  from monai.utils.enums import HoVerNetBranch
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestHoVerNetInstanceMapPostProcessingd obj's underlying member method code with example usage: obj.test_value(in_type, test_data, kwargs, expected_info, expected_map) without return types