@@ -481,7 +481,11 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_device_lock_commands() {
|
fn test_device_lock_commands() {
|
||||||
assert_frame(build_unlock_device(b"1234").unwrap(), 0x2d, &[0x00, b'1', b'2', b'3', b'4']);
|
assert_frame(
|
||||||
|
build_unlock_device(b"1234").unwrap(),
|
||||||
|
0x2d,
|
||||||
|
&[0x00, b'1', b'2', b'3', b'4'],
|
||||||
|
);
|
||||||
|
|
||||||
assert_frame(build_lock_device(b"1234").unwrap(), 0x2f, b"1234");
|
assert_frame(build_lock_device(b"1234").unwrap(), 0x2f, b"1234");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user