public void CanGetProgramBreakpointByIndex() { _cpu.AddBreakpoint(new ProgramAddressBreakpoint(0x1234)); _cpu.AddBreakpoint(new ProgramOpcodeBreakpoint((byte)OPCODE.PHA)); Assert.IsTrue(_cpu.Breakpoints[1] is ProgramOpcodeBreakpoint); }