示例#1
0
文件: Demo.cs 项目: kurtrips/tc
        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.");
        }