code: def test_type_shape(self, input_data, expected_fg, expected_bg):
      fg_indices, bg_indices = map_binary_to_indices(**input_data)
      assert_allclose(fg_indices, expected_fg, type_test=False)
      assert_allclose(bg_indices, expected_bg, type_test=False)
  
file_path: MONAI/tests/test_map_binary_to_indices.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.transforms import map_binary_to_indices
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestMapBinaryToIndices obj's underlying member method code with example usage: obj.test_type_shape(input_data, expected_fg, expected_bg) without return types