code: def test_transform():
      # Arrange
      p = ImagePath.Path([0, 1, 2, 3])
      theta = math.pi / 15
  
      # Act
      # Affine transform, in-place
      p.transform(
          (
              math.cos(theta),
              math.sin(theta),
              20,
              -math.sin(theta),
              math.cos(theta),
              20,
          ),
      )
  
      # Assert
      assert p.tolist() == [
          (20.20791169081776, 20.978147600733806),
          (22.58003027392089, 22.518619420565898),
      ]
  
file_path: pillow-simd/Tests/test_imagepath.py
imports: import array
  import math
  import struct
  import pytest
  from PIL import Image, ImagePath
label_desc: Use image node_id 7 for calling a global function with example usage: test_transform() without return types