Esempio n. 1
0
        public void TestMethod3()
        {
            Double[,] Inarray = new Double[, ]
            {
                { 1, 1.2, 0.89 },
                { 0.88, 1, 5.1 },
                { 1.1, 0.15, 1 }
            };

            int d = 3;


            FW TestFW = new FW(Inarray, d);

            String[] codes = { "AUS", "USD", "JPY" };



            String Expected = "no arbitrage found";
            String Actual   = TestFW.ReturnProft(0.99, 2, codes);

            Assert.AreEqual(Expected, Actual);
        }