コード例 #1
0
        public void TestSecretPinorrectInvalid2()
        {
            Books365.BLL.Validator v = new Books365.BLL.Validator();
            TextBox testTextBox      = new TextBox();

            testTextBox.Text = "32334";
            Assert.False(v.SecretPinIsCorrect(testTextBox));
        }
コード例 #2
0
        public void TestSecretPinorrectValid()
        {
            Books365.BLL.Validator v = new Books365.BLL.Validator();
            TextBox testTextBox      = new TextBox();

            testTextBox.Text = "3344";
            Assert.True(v.SecretPinIsCorrect(testTextBox));
        }