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)))
      nuclear_type = in_type(test_data)
  
      inst_info, inst_map = HoVerNetInstanceMapPostProcessing()(
          nuclear_prediction, hover_map
      )
      inst_info, type_map = HoVerNetNuclearTypePostProcessing(**kwargs)(
          nuclear_type, inst_info, inst_map
      )
  
      # instance prediction info
      for key in inst_info:
          self.assertEqual(
              inst_info[key]["type"], expected_info[key]["type"]
          )
          self.assertEqual(
              inst_info[key]["type_prob"],
              expected_info[key]["type_prob"],
          )
  
      # type map
      if expected_map is None:
          self.assertIsNone(type_map)
      else:
          assert_allclose(type_map, expected_map, type_test=False)
  
file_path: MONAI/tests/test_hovernet_nuclear_type_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, HoVerNetNuclearTypePostProcessing
  from monai.transforms import ComputeHoVerMaps
  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 TestHoVerNetNuclearTypePostProcessing obj's underlying member method code with example usage: obj.test_value(in_type, test_data, kwargs, expected_info, expected_map) without return types