Exemple #1
0
        public void IssnFieldChecker_True()
        {
            var checker = new IssnFieldChecker();

            Assert.IsTrue(checker.Validate("0378-5955"));
            Assert.IsTrue(checker.Validate("1091-0050"));
        }
Exemple #2
0
        public void IssnFieldChecker_False()
        {
            var checker = new IssnFieldChecker();

            Assert.IsFalse(checker.Validate("0378-5956"));
            Assert.IsFalse(checker.Validate("0321349601"));
            Assert.IsFalse(checker.Validate("03785955"));
        }