Add more test

This commit is contained in:
Sosthène Guédon
2023-09-22 11:27:49 +02:00
committed by sosthene-nitrokey
parent 71520bca0f
commit 8958415c84
+6
View File
@@ -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]