mirror of
https://github.com/mre/mos6502.git
synced 2024-06-15 13:29:32 +00:00
specify the variant in unit test now the API has changed
This commit is contained in:
parent
4c58753283
commit
73e4896120
|
@ -1248,7 +1248,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn php_sets_bits_4_and_5() {
|
||||
let mut cpu = CPU::new(Ram::new());
|
||||
let mut cpu = CPU::new(Ram::new(), Nmos6502);
|
||||
cpu.execute_instruction((Instruction::PHP, OpInput::UseImplied));
|
||||
cpu.execute_instruction((Instruction::PLA, OpInput::UseImplied));
|
||||
cpu.execute_instruction((Instruction::AND, OpInput::UseImmediate(0x30)));
|
||||
|
|
Loading…
Reference in New Issue
Block a user