예제 #1
0
        public void CreateRCTLLoan()
        {
            var loan = new Loan(new RCTLTermROC(), 0.0, 0.0, 0, DateTime.Now, DateTime.Now);

            Assert.Equal("RCTL loan", loan.TypeOfLoan());
        }
예제 #2
0
        public void CreateTermROCLoan()
        {
            var loan = new Loan(0.0, 0.0, 0, DateTime.Now);

            Assert.Equal("Term loan", loan.TypeOfLoan());
        }
예제 #3
0
        public void CreateRevolvingLoan()
        {
            var loan = new Loan(0.0, 0.0, 0, DateTime.Now, DateTime.Now);

            Assert.Equal("Revolving loan", loan.TypeOfLoan());
        }