tests: update to reflect new argument ordering
This commit is contained in:
@@ -196,8 +196,12 @@ fn test_instruction_decode_misc() {
|
||||
#[test]
|
||||
fn test_instruction_decode_invalid() {
|
||||
// Test with invalid opcode.
|
||||
let invalid_encoded = 0xFF00_0000;
|
||||
assert!(Instruction::decode(invalid_encoded).is_err());
|
||||
let invalid_encoded = 0xF500_0000;
|
||||
let decode = Instruction::decode(invalid_encoded);
|
||||
|
||||
dbg!(&decode);
|
||||
|
||||
assert!(decode.is_err());
|
||||
}
|
||||
|
||||
// TODO: Get interrupts working.
|
||||
|
||||
Reference in New Issue
Block a user