code: def test_select_fn(self):
      test_data = np.random.randint(0, 8, size=(2, 3))
      test_data = test_data == 7
      for p in TEST_NDARRAYS:
          bbox = BoundingRect(select_fn=lambda x: x < 1)(p(test_data))
          np.testing.assert_allclose(bbox, [[0, 3], [0, 3]])
  
file_path: MONAI/tests/test_bounding_rect.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  import monai
  from monai.transforms import BoundingRect
  from tests.utils import TEST_NDARRAYS
label_desc: Use image node_id 4 for calling the TestBoundingRect obj's underlying member method code with example usage: obj.test_select_fn() without return types