code: def test_default_values(self):
      rotation = carla.Rotation()
      self.assertEqual(rotation.pitch, 0.0)
      self.assertEqual(rotation.yaw, 0.0)
      self.assertEqual(rotation.roll, 0.0)
      rotation = carla.Rotation(1.0)
      self.assertEqual(rotation.pitch, 1.0)
      self.assertEqual(rotation.yaw, 0.0)
      self.assertEqual(rotation.roll, 0.0)
      rotation = carla.Rotation(1.0, 2.0)
      self.assertEqual(rotation.pitch, 1.0)
      self.assertEqual(rotation.yaw, 2.0)
      self.assertEqual(rotation.roll, 0.0)
      rotation = carla.Rotation(1.0, 2.0, 3.0)
      self.assertEqual(rotation.pitch, 1.0)
      self.assertEqual(rotation.yaw, 2.0)
      self.assertEqual(rotation.roll, 3.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 TestRotation obj's underlying member method code with example usage: obj.test_default_values() without return types