Пример #1
0
        public void DemoConvertIds()
        {
            //Convert from CUSIP to ISIN
            string isin = fsm.ConvertFromCUSIPToISIN("459056DG9");

            Assert.AreEqual(isin, "US459056DG91", "Wrong conversion of Cusip to ISIN");

            //Convert from ISIN to CUSIP
            string cusip = fsm.ConvertFromISINToCUSIP("US459056DG91");

            Assert.AreEqual(cusip, "459056DG9", "Wrong ConvertFromISINToCUSIP implementation.");
        }
Пример #2
0
        public void TestConvertFromISINToCUSIPAccuracy1()
        {
            string cusip = fsm.ConvertFromISINToCUSIP("US459056DG91");

            Assert.AreEqual(cusip, "459056DG9", "Wrong ConvertFromISINToCUSIP implementation.");
        }