docstr: Test HE stain extraction on input images that are
  uniformly filled with pixels that have absorbance above the
  beta absorbance threshold. Since input image is uniformly filled,
  the two extracted stains should have the same RGB values. So,
  we assert that the first column is equal to the second column
  of the returned stain matrix.
docstr_tok: ["Test","HE","stain","extraction","on","input","images","that","are","uniformly","filled","with","pixels","that","have","absorbance","above","the","beta","absorbance","threshold",".","Since","input","image","is","uniformly","filled",",","the","two","extracted","stains","should","have","the","same","RGB","values",".","So",",","we","assert","that","the","first","column","is","equal","to","the","second","column","of","the","returned","stain","matrix","."]
code: def test_identical_result_vectors(self, image):
      """
      Test HE stain extraction on input images that are
      uniformly filled with pixels that have absorbance above the
      beta absorbance threshold. Since input image is uniformly filled,
      the two extracted stains should have the same RGB values. So,
      we assert that the first column is equal to the second column
      of the returned stain matrix.
      """
      key = "image"
      if image is None:
          with self.assertRaises(TypeError):
              ExtractHEStainsD([key])({key: image})
      else:
          result = ExtractHEStainsD([key])({key: image})
          np.testing.assert_array_equal(
              result[key][:, 0], result[key][:, 1]
          )
  
file_path: MONAI/tests/test_pathology_he_stain_dict.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.apps.pathology.transforms import ExtractHEStainsD, NormalizeHEStainsD
label_desc: Use image node_id 2 for calling the TestExtractHEStainsD obj's underlying member method code with example usage: obj.test_identical_result_vectors(image) without return types