def test_parse_args() -> None:
    """Test that an argument string is parsed correctly."""
    args = ('--num_qubits 5 --depth 5 --num_circuits 200 --seed 1234').split()
    kwargs = quantum_volume.parse_arguments(args)
    assert kwargs == {'num_qubits': 5, 'depth': 5, 'num_circuits': 200, 'seed': 1234, 'routes': 30}
Test that an argument string is parsed correctly.
examples/advanced/quantum_volume_test.py