code: def test_values(self):
      t = carla.Transform()
      self.assertEqual(t.location.x, 0.0)
      self.assertEqual(t.location.y, 0.0)
      self.assertEqual(t.location.z, 0.0)
      self.assertEqual(t.rotation.pitch, 0.0)
      self.assertEqual(t.rotation.yaw, 0.0)
      self.assertEqual(t.rotation.roll, 0.0)
      t = carla.Transform(carla.Location(y=42.0))
      self.assertEqual(t.location.x, 0.0)
      self.assertEqual(t.location.y, 42.0)
      self.assertEqual(t.location.z, 0.0)
      self.assertEqual(t.rotation.pitch, 0.0)
      self.assertEqual(t.rotation.yaw, 0.0)
      self.assertEqual(t.rotation.roll, 0.0)
      t = carla.Transform(rotation=carla.Rotation(yaw=42.0))
      self.assertEqual(t.location.x, 0.0)
      self.assertEqual(t.location.y, 0.0)
      self.assertEqual(t.location.z, 0.0)
      self.assertEqual(t.rotation.pitch, 0.0)
      self.assertEqual(t.rotation.yaw, 42.0)
      self.assertEqual(t.rotation.roll, 0.0)
  
file_path: carla/PythonAPI/test/unit/test_transform.py
imports: import carla
  import unittest
label_desc: Use image node_id 1 for calling the TestTransform obj's underlying member method code with example usage: obj.test_values() without return types