public void TestParsingResult() { EuropeanCentralBankQuote quote = new EuropeanCentralBankQuote(GetSampleDate(), GetSampleValue()); Assert.AreEqual(new DateTime(2010, 1, 25), quote.Date); Assert.AreEqual(123.45, quote.Value); }
public void TestParsing() { EuropeanCentralBankQuote quote = new EuropeanCentralBankQuote(); quote.ParseData(GetSampleDate(), GetSampleValue()); }