示例#1
0
 public void SlangExtensions_CreateMoneyFromDecimal()
 {
     Assert.That(five.Lerus(), Must.Be.MoneyWith(five, Currency.Eur));
     Assert.That(five.Bucks(), Must.Be.MoneyWith(five, Currency.Usd));
     Assert.That(five.Quid(), Must.Be.MoneyWith(five, Currency.Gbp));
 }