Ejemplo n.º 1
0
        public void LoadFromFileTest()
        {
            HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value
            string   filePath          = "sbrf-3.10_2010-03-04_quotes.csv";
            DateTime date = new DateTime(2010, 3, 4);               // TODO: Initialize to an appropriate value

            target.LoadFromFile(filePath);
            Assert.IsTrue(target.DataSeries.Quotes.Count > 0);
            Assert.IsTrue(target.DataSeries.Depth.Count > 0);
        }
 public void LoadFromFileTest()
 {
     HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value
         string filePath = "sbrf-3.10_2010-03-04_quotes.csv";
         DateTime date = new DateTime(2010, 3, 4); // TODO: Initialize to an appropriate value
         target.LoadFromFile(filePath);
         Assert.IsTrue(target.DataSeries.Quotes.Count > 0);
         Assert.IsTrue(target.DataSeries.Depth.Count > 0);
 }