public void IncrementsAccumulator(byte accu, byte expected) { machine.CPU.A.Value = accu; _inc.INC_Accumulator(); Assert.Equal(expected, machine.CPU.A.Value); }
public void IncrementsAccumulator(byte accu, byte expected) { machine.CPU.A.Value = accu; _inc.INC_Accumulator(); Assert.Equal(expected, machine.CPU.A.Value); }