Ejemplo n.º 1
0
        public void CalcFutureValue_Ref_120Mo20US()
        {
            decimal futureValue = 0m;

            Ex3bCalculations.CalculateFutureValue(20m, 0.003m, 120, ref futureValue);
            Assert.AreEqual(2892.37m, Decimal.Round(futureValue, 2));
        }
Ejemplo n.º 2
0
        public void CalcFutureValue_120Mo20US()

        {
            Assert.AreEqual(2892.37m,

                            Decimal.Round(Ex3bCalculations.CalculateFutureValue(20m, 0.003m, 120), 2));
        }
Ejemplo n.º 3
0
        public void CalcFutureValue_Ref_12Mo100US()
        {
            decimal futureValue = 0m;

            Ex3bCalculations.CalculateFutureValue(100m, 0.004m, 12, ref futureValue);
            Assert.AreEqual(1231.66m, Decimal.Round(futureValue, 2));
        }
Ejemplo n.º 4
0
        public void CalcFutureValue_12Mo100US()

        {
            Assert.AreEqual(1231.66m,

                            Decimal.Round(Ex3bCalculations.CalculateFutureValue(100m, 0.004m, 12), 2));
        }