code: def test_box_center_distance(self):
      # test list
      self.assertEqual(
          bbox_center_distance(self.box1_list, self.box2_list), self.gt
      )
      # test np.array
      self.assertEqual(
          bbox_center_distance(self.box1_array, self.box2_array),
          self.gt,
      )
      # test tensor
      self.assertEqual(
          bbox_center_distance(self.box1_tensor, self.box2_tensor),
          self.gt,
      )
  
imports: import unittest
  import numpy
  import torch
  from mmocr.utils import bbox2poly, bbox_center_distance, bbox_diag_distance, bezier2polygon, is_on_same_line, rescale_bbox, rescale_bboxes, stitch_boxes_into_lines
  from mmocr.utils.bbox_utils import bbox_jitter
label_desc: Use image node_id 2 for calling the TestBoxCenterDistance obj's underlying member method code with example usage: obj.test_box_center_distance() without return types