code: def test_rotation(self):
      error = 0.001
      t = carla.Transform(
          carla.Location(x=0.0, y=0.0, z=0.0),
          carla.Rotation(pitch=180.0, yaw=0.0, roll=0.0),
      )
      point = carla.Location(x=0.0, y=0.0, z=1.0)
      t.transform(point)
  
      self.assertTrue(abs(point.x - 0.0) <= error)
      self.assertTrue(abs(point.y - 0.0) <= error)
      self.assertTrue(abs(point.z - (-1.0)) <= error)
  
file_path: carla/PythonAPI/test/unit/test_transform.py
imports: import carla
  import unittest
label_desc: Use image node_id 4 for calling the TestTransform obj's underlying member method code with example usage: obj.test_rotation() without return types