use ptrs::args::Args;
fn main() {
let input = "cert=ABC;iat-mode=0";
let args = Args::parse_client_parameters(input).expect("parse should succeed");
println!("Parsed args: {args:?}");
let encoded = args.encode_smethod_args();
println!("Encoded: {encoded}");
let roundtrip = Args::parse_client_parameters(&encoded).expect("roundtrip parse");
assert_eq!(args, roundtrip, "roundtrip must be equal");
println!("Roundtrip OK.");
}