public void EITest() { PrivateObject param0 = new PrivateObject(new Z80(new Memory48K())); Z80_Accessor target = new Z80_Accessor(param0); target.IFF1 = false; target.IFF2 = false; target.EI(); Assert.IsTrue(target.IFF1 == true && target.IFF2 == true, "Error: EI"); }