public void ItShouldConvertFromPoundsToDollarsCorrectly() { decimal amountInPounds = 1m; decimal expectedAmountInDollars = 1.25m; Converter converter = new Converter(); decimal result = converter.Convert("GBP", "USD", amountInPounds); Assert.AreEqual(expectedAmountInDollars, result); }
public void AnExceptionShouldBeThrownIfAnUnknownCurrencyTypeIsPassedIn() { Converter converter = new Converter(); converter.Convert("USD", "DDD", 100); }