Exemple #1
0
        public void TestIntallmentTerms12Score800()
        {
            double instalment = CommitmentPolice.CalculoDaParcela(1000.00, 12, 800);
            int    compare    = Math.Round(instalment, 2).CompareTo(114.74);

            Assert.IsTrue(compare == 0);
        }
Exemple #2
0
        public void TestIntallmentTerms9Score700()
        {
            double instalment = CommitmentPolice.CalculoDaParcela(1000.00, 9, 700);
            int    compare    = Math.Round(instalment, 2).CompareTo(145.75);

            Assert.IsTrue(compare == 0);
        }