Example #1
0
        public void TestZeroYearOther()
        {
            //Arrange
            double mort = CalcMortgage.ComputeMonthlyPayment(0, 45, 2.25);

            //Act
            //Assert
            Assert.AreEqual(0, mort);
        }
Example #2
0
        public void TestThousandYearOther()
        {
            //Arrange
            double mort = CalcMortgage.ComputeMonthlyPayment(1000, 15, 1.25);
            //Act
            double f = (double)mort;

            //Assert
            Assert.AreNotEqual(6.21, mort);
        }