Esempio n. 1
0
        //[TestCase("03-dummy_reads.nes", "\n02-branch_wrap\n\nPassed\n\0")]
        public void CPU_Instruction_Misc_No_Errors(string fileName, string expectedString)
        {
            var output = Utilties.RunTest(fileName, "instr_misc");

            Assert.AreEqual(expectedString, output);
        }
Esempio n. 2
0
        //[TestCase("1-cli_latency.nes","")] //Needs APU
        //[TestCase("2-nmi_and_brk.nes", "")] //
        //[TestCase("3-nmi_and_irq.nes", "")]
        //[TestCase("4-irq_and_dma.nes", "")]
        //[TestCase("5-branch_delays_irq.nes", "")]
        public void CPU_Interrupts_No_Errors(string fileName, string expectedString)
        {
            var output = Utilties.RunTest(fileName, "cpu_int_v2");

            Assert.AreEqual(expectedString, output);
        }
Esempio n. 3
0
        public void VBlank_NMI_Timing_Test_No_Errors(string fileName, string expectedString)
        {
            var output = Utilties.RunTest(fileName, "ppu_vbl_nmi");

            Assert.AreEqual(expectedString, output);
        }