code: def test_list_rotation_and_translation_location(self):
      error = 0.001
      t = carla.Transform(
          carla.Location(x=0.0, y=0.0, z=-1.0),
          carla.Rotation(pitch=90.0, yaw=0.0, roll=0.0),
      )
  
      point_list = [
          carla.Location(x=0.0, y=0.0, z=2.0),
          carla.Location(x=0.0, y=10.0, z=1.0),
          carla.Location(x=0.0, y=18.0, z=2.0),
      ]
      t.transform(point_list)
  
      solution_list = [
          carla.Location(-2.0, 0.0, -1.0),
          carla.Location(-1.0, 10.0, -1.0),
          carla.Location(-2.0, 18.0, -1.0),
      ]
  
      for i in range(len(point_list)):
          self.assertTrue(
              abs(point_list[i].x - solution_list[i].x) <= error
          )
          self.assertTrue(
              abs(point_list[i].y - solution_list[i].y) <= error
          )
          self.assertTrue(
              abs(point_list[i].z - solution_list[i].z) <= error
          )
  
file_path: carla/PythonAPI/test/unit/test_transform.py
imports: import carla
  import unittest
label_desc: Use image node_id 6 for calling the TestTransform obj's underlying member method code with example usage: obj.test_list_rotation_and_translation_location() without return types