public void CheckLenghtPasswordTest_StringLenght35_ReturnFalse() { DataValidation dataValidation = new DataValidation(); bool factResult; string s1 = "abcdefghijklmnopqrstuvwxyzaylhecotl"; factResult = dataValidation.CheckLenghtPassword(s1); Assert.IsFalse(factResult); }
public void CheckLenghtPasswordTest_StringLenght14_ReturnTrue() { DataValidation dataValidation = new DataValidation(); bool factResult; string s1 = "abcdefghijklmn"; factResult = dataValidation.CheckLenghtPassword(s1); Assert.IsTrue(factResult); }
public void CheckLenghtPasswordTest_StringLenght2_ReturnFalse() { DataValidation dataValidation = new DataValidation(); bool factResult; string s1 = "ab"; factResult = dataValidation.CheckLenghtPassword(s1); Assert.IsFalse(factResult); }
public void CheckLenghtPasswordTest_CorrectString_ReturnTrue() { DataValidation dataValidation = new DataValidation(); bool factResult; string s1 = "123456"; factResult = dataValidation.CheckLenghtPassword(s1); Assert.IsTrue(factResult); }