public void TestMensualite() { Pret pretTest = new Pret(5, 15, 100000); double dblMenssualiteAttendue = 790.79; double dblMensualiteCalculee = Math.Round(pretTest.CalculMensualite(), 2); Assert.AreEqual(dblMenssualiteAttendue, dblMensualiteCalculee); }