コード例 #1
0
        public void Setup()
        {
            Fixture = new Fixture();

            Sut = new Z80ProcessorForTests();
            Sut.SetInstructionExecutionContextToNonNull();

            InterruptSource1 = new InterruptSourceForTests();
            InterruptSource2 = new InterruptSourceForTests();
        }
コード例 #2
0
        public void Setup()
        {
            Fixture = new Fixture();

            Sut = new Z80ProcessorForTests();
            Sut.SetInstructionExecutionContextToNonNull();

            Memory         = new Mock <IMemory>();
            Sut.Memory     = Memory.Object;
            Ports          = new Mock <IMemory>();
            Sut.PortsSpace = Ports.Object;
        }