mirror of
https://github.com/trussed-dev/iso7816.git
synced 2026-06-20 04:16:14 -07:00
Add more test
This commit is contained in:
committed by
sosthene-nitrokey
parent
71520bca0f
commit
8958415c84
@@ -738,6 +738,12 @@ mod test {
|
||||
.copied()
|
||||
.collect::<Vec<u8>>()
|
||||
);
|
||||
|
||||
let command = CommandBuilder::new(cla, ins, 2, 3, &[1, 2, 3, 4], 294);
|
||||
assert_eq!(
|
||||
command.serialize_to_vec(true),
|
||||
&hex!("00 01 02 03 00 00 04 01020304 0126")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user