Exemplo n.º 1
0
        public void ADD_I_Test()
        {
            ushort testOpcode = 0xF11E; //Add I to value in V1

            memory.opcode = testOpcode;
            memory.I      = 5;
            memory.V[1]   = 5;
            instructions.ADD_I();

            Assert.AreEqual(10, memory.I, 0, "Did not add to I correctly");
        }