Exemplo n.º 1
0
        public void ConvertDKKResult()
        {
            RateConverter rateConverter = new RateConverter(HardcodedCurrencyRates);

            Assert.AreEqual(7.4394, rateConverter.Convert("EUR", "DKK", 1));

            Assert.AreEqual(1, rateConverter.Convert("DKK", "DKK", 1));
        }
Exemplo n.º 2
0
        public void ConvertResult()
        {
            RateConverter rateConverter = new RateConverter(HardcodedCurrencyRates);

            Assert.AreEqual(1120.6965, rateConverter.Convert("GBP", "SEK", 100));
        }