示例#1
0
        public void Validate_RightPassword_ReturnTrue()
        {
            GeneralValidation val = new GeneralValidation();
            string            pwd = "password";

            Assert.IsTrue(val.IsValidPassword(pwd));
        }
示例#2
0
        public void Validate_WrongPassword_ReturnFalse()
        {
            GeneralValidation val = new GeneralValidation();
            string            pwd = "wrong";

            Assert.IsFalse(val.IsValidPassword(pwd));
        }