public void TestClearCarryStatus() { Mock <I6502> cpu = new Mock <I6502>(); cpu.Setup(m => m.SetFlag(Flags.C, false)).Verifiable("Carry flag not cleared"); Assert.Equal(0, InstructionSet.CLC(cpu.Object)); cpu.Verify(); }