code: def test_center():
      im = hopper()
      rotate(im, im.mode, 45, center=(0, 0))
      rotate(im, im.mode, 45, translate=(im.size[0] / 2, 0))
      rotate(
          im, im.mode, 45, center=(0, 0), translate=(im.size[0] / 2, 0)
      )
  
file_path: pillow-simd/Tests/test_image_rotate.py
imports: from PIL import Image
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper
label_desc: Use image node_id 11 for calling a global function with example usage: test_center() without return types