code: def setUp(self) -> None:
      self.box_list1 = [0, 0, 1, 1, 0, 10, -10, 0]
      self.box_array1 = np.array(self.box_list1)
      self.box_tensor1 = torch.tensor(self.box_list1)
      self.gt1 = 10
      self.box_list2 = [0, 0, 1, 1]
      self.box_array2 = np.array(self.box_list2)
      self.box_tensor2 = torch.tensor(self.box_list2)
      self.gt2 = np.sqrt(2)
  
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 1 for calling the TestBoxDiagDistance obj's underlying member method code with example usage: obj.setUp() without return types