public void LoadQuotesByDateTest() { HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value string symbol = "sbrf-3.10"; // TODO: Initialize to an appropriate value DateTime date = new DateTime(2010, 3, 4); List <Quote> quotes; quotes = target.LoadQuotes(symbol, date); Assert.AreNotEqual(quotes, null); Assert.AreNotEqual(quotes.Count, 0); }
public void LoadQuotesTest() { try { HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value string symbol = "sbrf-3.10"; // TODO: Initialize to an appropriate value List <Quote> quotes; quotes = target.LoadQuotes(symbol); Assert.AreNotEqual(quotes, null); Assert.AreNotEqual(quotes.Count, 0); } catch (Exception ex) { Assert.Fail(ex.ToString()); } }
public void LoadQuotesTest() { try { HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value string symbol = "sbrf-3.10"; // TODO: Initialize to an appropriate value List<Quote> quotes; quotes = target.LoadQuotes(symbol); Assert.AreNotEqual(quotes, null); Assert.AreNotEqual(quotes.Count, 0); } catch (Exception ex) { Assert.Fail(ex.ToString()); } }
public void LoadQuotesByDateTest() { HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value string symbol = "sbrf-3.10"; // TODO: Initialize to an appropriate value DateTime date = new DateTime(2010, 3, 4); List<Quote> quotes; quotes = target.LoadQuotes(symbol, date); Assert.AreNotEqual(quotes, null); Assert.AreNotEqual(quotes.Count, 0); }