code: def test_bbox_jitter(self):
      dummy_points_x = [20, 120, 120, 20]
      dummy_points_y = [20, 20, 40, 40]
  
      kwargs = dict(jitter_ratio_x=0.0, jitter_ratio_y=0.0)
  
      with self.assertRaises(AssertionError):
          bbox_jitter([], dummy_points_y)
      with self.assertRaises(AssertionError):
          bbox_jitter(dummy_points_x, [])
      with self.assertRaises(AssertionError):
          bbox_jitter(
              dummy_points_x, dummy_points_y, jitter_ratio_x=1.0
          )
      with self.assertRaises(AssertionError):
          bbox_jitter(
              dummy_points_x, dummy_points_y, jitter_ratio_y=1.0
          )
  
      bbox_jitter(dummy_points_x, dummy_points_y, **kwargs)
  
      assert np.allclose(dummy_points_x, [20, 120, 120, 20])
      assert np.allclose(dummy_points_y, [20, 20, 40, 40])
  
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 TestBboxJitter obj's underlying member method code with example usage: obj.test_bbox_jitter() without return types