public void Validate_RightPassword_ReturnTrue() { GeneralValidation val = new GeneralValidation(); string pwd = "password"; Assert.IsTrue(val.IsValidPassword(pwd)); }
public void Validate_WrongPassword_ReturnFalse() { GeneralValidation val = new GeneralValidation(); string pwd = "wrong"; Assert.IsFalse(val.IsValidPassword(pwd)); }