Ejemplo n.º 1
0
        public void Password_HasNoUppercase()
        {
            PropertyCheck  password  = new PropertyCheck("l12#ghj");
            UppercaseCheck uppercase = new UppercaseCheck();
            bool           result    = uppercase.checkPassword(password);

            Assert.AreEqual(false, result);
        }
Ejemplo n.º 2
0
        public void Password_Valid()
        {
            PropertyCheck  password  = new PropertyCheck("Al1@sdfghj");
            UppercaseCheck uppercase = new UppercaseCheck();
            bool           result    = uppercase.checkPassword(password);

            Assert.AreEqual(true, result);
        }