Ejemplo n.º 1
0
        public void ShouldReturnFalseIfNonNumericStart(string testCase)
        {
            bool test = HetuValidator.isValidSSN(testCase);

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

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

            Assert.IsTrue(test);
        }
Ejemplo n.º 4
0
        public void ShouldReturnFalseIfEmptyString()
        {
            bool test = HetuValidator.isValidSSN("");

            Assert.IsFalse(test);
        }