code: def test_init(self):
      # max angle is float
      with self.assertRaisesRegex(
          TypeError, "`max_angle` should be an integer"
      ):
          RandomRotate(max_angle=16.8)
      # invalid pad value
      with self.assertRaisesRegex(
          ValueError, "`pad_value` should contain three integers"
      ):
          RandomRotate(pad_value=[16.8, 0.1])
  
imports: import copy
  import unittest
  import unittest.mock
  import numpy
  from mmocr.datasets.transforms import FixInvalidPolygon, RandomCrop, RandomRotate, RemoveIgnored, Resize
  from mmocr.utils import poly2shapely
label_desc: Use image node_id 2 for calling the TestRandomRotate obj's underlying member method code with example usage: obj.test_init() without return types