public void TestSecretPinorrectInvalid2() { Books365.BLL.Validator v = new Books365.BLL.Validator(); TextBox testTextBox = new TextBox(); testTextBox.Text = "32334"; Assert.False(v.SecretPinIsCorrect(testTextBox)); }
public void TestSecretPinorrectValid() { Books365.BLL.Validator v = new Books365.BLL.Validator(); TextBox testTextBox = new TextBox(); testTextBox.Text = "3344"; Assert.True(v.SecretPinIsCorrect(testTextBox)); }