Refactored m68k tests to use data for test cases

This commit is contained in:
transistor 2021-11-13 10:55:58 -08:00
parent e0d863a845
commit 674f03c3b8
2 changed files with 377 additions and 681 deletions

File diff suppressed because it is too large Load Diff

View File

@ -612,9 +612,11 @@ mod execute_tests {
assert_eq!(cpu.decoder.instruction, case.ins);
cpu.execute_current(&system).unwrap();
// TODO this is a hack to ignore the functioning of the F5, F3 flags for now
cpu.state.reg[Register::F as usize] &= 0xD7;
expected_state.reg[Register::F as usize] &= 0xD7;
assert_eq!(cpu.state, expected_state);
}