def METHOD_NAME(self):
    """Test Path.Length calculation"""
    commands = []
    commands.append(Path.Command("G1", {"X": 1}))
    commands.append(Path.Command("G1", {"Y": 1}))
    path = Path.Path(commands)
    self.assertEqual(path.Length, 2)