Example #1
0
        public void ShouldReturnFalseIfNonNumericStart(string testCase)
        {
            bool test = HetuValidator.isValidSSN(testCase);

            Assert.IsFalse(test);
        }
Example #2
0
        public void ShouldReturnFalseIfNotElevenCharacters(string testCase)
        {
            bool test = HetuValidator.isValidSSN(testCase);

            Assert.IsFalse(test);
        }
Example #3
0
        public void ShouldReturnTrueIfElevenCharacters(string testCase)
        {
            bool test = HetuValidator.isValidSSN(testCase);

            Assert.IsTrue(test);
        }
Example #4
0
        public void ShouldReturnFalseIfEmptyString()
        {
            bool test = HetuValidator.isValidSSN("");

            Assert.IsFalse(test);
        }