public void ItCanRevalidateDetailsOnImmediateRepeat() { var checker = new ModulusChecker(); Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber)); Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber)); }
public void ItCanRevalidateDetailsOnSeparatedRepeat(string sc, string an) { var checker = new ModulusChecker(); Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber), string.Format("first check should have passed for {0} and {1}", Sortcode, AccNumber)); Assert.IsTrue(checker.CheckBankAccount(sc, an), string.Format("separating check should have passed for {0} and {1}", sc, an)); Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber), string.Format("second check should have passed for {0} and {1}", Sortcode, AccNumber)); }
public void SeparatingCheckPassesInIsolation(string sc, string an) { var checker = new ModulusChecker(); Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber)); }