Example #1
0
        public void Test_Valid_Arguments()
        {
            var interestprocessor = new InterestEvaluateProcessor();

            Assert.IsNotNull(interestprocessor.Interest(1001));
        }
Example #2
0
        public void Test_AccountBalancelessthanZero()
        {
            var interestprocessor = new InterestEvaluateProcessor();

            Assert.ThrowsException <ArgumentOutOfRangeException>(() => interestprocessor.Interest(-2000));
        }