コード例 #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);
        }
コード例 #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);
        }