code: def test_crop_bbox(self):
      expected = np.array(
          (
              (0, 0, 2, 4),
              (0, 0, 4, 4),
              (0, 2, 2, 4),
              (2, 3, 3, 4),
          ),
          dtype=np.float32,
      )
  
      out, param = crop_bbox(
          self.bbox,
          y_slice=self.y_slice,
          x_slice=self.x_slice,
          return_param=True,
      )
      np.testing.assert_equal(out, expected)
      np.testing.assert_equal(param["index"], (0, 1, 3, 4))
      np.testing.assert_equal(param["truncated_index"], (0, 1, 3))
  
file_path: chainercv/tests/transforms_tests/bbox_tests/test_crop_bbox.py
imports: import numpy
  import unittest
  from chainer import testing
  from chainercv.transforms import crop_bbox
label_desc: Use image node_id 2 for calling the TestCropBbox obj's underlying member method code with example usage: obj.test_crop_bbox() without return types