示例#1
0
        public void ItCanRevalidateDetailsOnImmediateRepeat()
        {
            var checker = new ModulusChecker();

            Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber));
            Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber));
        }
示例#2
0
        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));
        }
示例#3
0
 public void SeparatingCheckPassesInIsolation(string sc, string an)
 {
     var checker = new ModulusChecker();
     Assert.IsTrue(checker.CheckBankAccount(Sortcode, AccNumber));
 }