示例#1
0
        public void TestGetPreviousExchangeData()
        {
            var date         = new DateTime(2018, 1, 1);
            var fromCurrency = "USD";
            var toCurrency   = "VND";
            var result       = ExchangeRateService.GetPreviousExchangeData(date, fromCurrency, toCurrency);

            Assert.AreEqual(result.Length, 12);
        }