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)); }
public void ConvertResult() { RateConverter rateConverter = new RateConverter(HardcodedCurrencyRates); Assert.AreEqual(1120.6965, rateConverter.Convert("GBP", "SEK", 100)); }