public void TestRequestOneEntry() { List <YahooHistoricalQuote> quotes = YahooFinanceAPI.GetHistoricalQuotes("GOOG", new DateTime(2011, 1, 31), new DateTime(2011, 1, 31)); Assert.AreEqual(1, quotes.Count); Assert.AreEqual(new DateTime(2011, 1, 31), quotes[0].Date); Assert.AreEqual(603, quotes[0].Open, 1); Assert.AreEqual(600, quotes[0].Close, 1); }