public void IncrementsMemory(byte value, byte expected) { int memAddress = 0xABBA; machine.Memory.Set(memAddress, value); _inc.INC_Memory(memAddress); Assert.Equal(expected, machine.Memory.Get(memAddress)); }
public void IncrementsMemory(byte value, byte expected) { int memAddress = 0xABBA; machine.Memory.Set(memAddress, value); _inc.INC_Memory(memAddress); Assert.Equal(expected, machine.Memory.Get(memAddress)); }