public void parseExhangeRatesTest()
 {
     CSVParser target = new CSVParser(); // TODO: Initialize to an appropriate value
     List<ExchangeRate> expected = null; // TODO: Initialize to an appropriate value
     List<ExchangeRate> actual;
     actual = target.parseExchangeRates();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Пример #2
0
        public List<ExchangeRate> getCSVFileData()
        {
            if (!File.Exists(fname))
            {
                return null;
            }

            myReader = new StreamReader(fname);
            CSVParser parser = new CSVParser();
            parser.setStreamSource(myReader);
            return (parser.parseExchangeRates());
        }