Exemplo n.º 1
0
        public void Password_InvalidLength()
        {
            PropertyCheck password = new PropertyCheck("Afghj");
            LengthCheck   length   = new LengthCheck();
            bool          result   = length.checkPassword(password);

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

            Assert.AreEqual(true, result);
        }