code: def test_point_distance(self):
      # list
      self.assertEqual(point_distance(self.p1_list, self.p2_list), 1)
      self.assertEqual(point_distance(self.p1_list, self.p1_list), 0)
      # array
      self.assertEqual(point_distance(self.p1_array, self.p2_array), 1)
      self.assertEqual(point_distance(self.p1_array, self.p1_array), 0)
      # tensor
      self.assertEqual(
          point_distance(self.p1_tensor, self.p2_tensor), 1
      )
      self.assertEqual(
          point_distance(self.p1_tensor, self.p1_tensor), 0
      )
      with self.assertRaises(AssertionError):
          point_distance(self.invalid_p, self.invalid_p)
  
file_path: mmocr/tests/test_utils/test_point_utils.py
imports: import unittest
  import numpy
  import torch
  from mmocr.utils import point_distance, points_center
label_desc: Use image node_id 2 for calling the TestPointDistance obj's underlying member method code with example usage: obj.test_point_distance() without return types