Exemplo n.º 1
0
        public void TestCalcPriceGivenExample4()
        {
            chimera.Form1 test     = new chimera.Form1();
            double        returned = test.CalcPrice(0.10, 30, 1000, 0.19);

            Assert.AreEqual(returned, 528.8807463);
        }
Exemplo n.º 2
0
        public void TestCalcPriceGivenExample2()
        {
            chimera.Form1 test     = new chimera.Form1();
            double        returned = test.CalcPrice(0.15, 5, 1000, 0.15);

            Assert.AreEqual(returned, 1000.0000000);
        }
Exemplo n.º 3
0
        public void TestCalcPriceGivenExample3()
        {
            chimera.Form1 test     = new chimera.Form1();
            double        returned = test.CalcPrice(0.10, 5, 1000, 0.08);

            Assert.AreEqual(returned, 1079.8542007);
        }
Exemplo n.º 4
0
        public void TestCalcPriceGivenExample1()
        {
            chimera.Form1 test     = new chimera.Form1();
            double        returned = test.CalcPrice(0.10, 5, 1000, 0.15);

            Assert.AreEqual(returned, 832.3922451);
        }