Exemplo n.º 1
0
        public void CheckAuthenticationTest()
        {
            Validation target   = new MyValidation();
            string     id       = "id";
            string     pwd      = "pwd";
            bool       expected = true;
            bool       actual;

            actual = target.CheckAuthentication(id, pwd);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void CheckAuthenticationTest()
        {
            Validation target = new MyValidation();

            string id       = "id anyone";
            string password = "******";

            bool expected = true;
            bool actual;

            actual = target.CheckAuthentication(id, password);
            Assert.AreEqual(expected, actual);
        }