Ejemplo n.º 1
0
        public void PriceTableTest()
        {
            PriceSystemTable priceSystemTable = new PriceSystemTable(presentValue, rate, time, 2);
            var lst = priceSystemTable.ToList();

            Assert.AreEqual(0, lst.Last().Balance);
        }
Ejemplo n.º 2
0
        public void PriceTable()
        {
            double d = 35000;
            float  t = 3.4f / 100;
            int    n = 260;

            PriceSystemTable a = new PriceSystemTable(d, t, n);
            var a2             = a.ToList();

            a2.Sum(p => p.Amortisation);
        }