Exemple #1
0
        public void TestParsingResult()
        {
            EuropeanCentralBankQuote quote = new EuropeanCentralBankQuote(GetSampleDate(), GetSampleValue());

            Assert.AreEqual(new DateTime(2010, 1, 25), quote.Date);
            Assert.AreEqual(123.45, quote.Value);
        }
Exemple #2
0
        public void TestParsing()
        {
            EuropeanCentralBankQuote quote = new EuropeanCentralBankQuote();

            quote.ParseData(GetSampleDate(), GetSampleValue());
        }