public void AND_Test() { ushort testOpcode = 0x8122; //Performs AND on V1 and V2 memory.opcode = testOpcode; memory.V[1] = 0x0F; memory.V[2] = 0xF0; instructions.AND(); // 0x0F AND 0xF0 = 0x00 Assert.AreEqual(0x00, memory.V[1], 0, "Did not perform OR correctly"); }