Exemple #1
0
        public void EditDepositWrong()
        {
            PassBookValidate u = new PassBookValidate();
            var r = u.ValidateEditDeposit(1, 1500000, 120000000);

            Assert.IsFalse(r);
        }
Exemple #2
0
        public void EditDepositRight()
        {
            PassBookValidate u = new PassBookValidate();
            var r = u.ValidateEditDeposit(1, 1500000, 90000000);

            Assert.IsTrue(r);
        }
Exemple #3
0
        public void EditDepositLessThan1Million()
        {
            PassBookValidate u = new PassBookValidate();
            var r = u.ValidateEditDeposit(1, 1500000, 300000);

            Assert.IsFalse(r);
        }