public void DEC_rTest() { PrivateObject param0 = new PrivateObject(new Z80(new Memory48K())); Z80_Accessor target = new Z80_Accessor(param0); target.D = 0x2a; target.DEC_r(2); Assert.IsTrue(target.D == 0x29, "Error: DEC r"); }