code: def test_default_values(self):
      location = carla.Location()
      self.assertEqual(location.x, 0.0)
      self.assertEqual(location.y, 0.0)
      self.assertEqual(location.z, 0.0)
      location = carla.Location(1.0)
      self.assertEqual(location.x, 1.0)
      self.assertEqual(location.y, 0.0)
      self.assertEqual(location.z, 0.0)
      location = carla.Location(1.0, 2.0)
      self.assertEqual(location.x, 1.0)
      self.assertEqual(location.y, 2.0)
      self.assertEqual(location.z, 0.0)
      location = carla.Location(1.0, 2.0, 3.0)
      self.assertEqual(location.x, 1.0)
      self.assertEqual(location.y, 2.0)
      self.assertEqual(location.z, 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 TestLocation obj's underlying member method code with example usage: obj.test_default_values() without return types