public bool EqualsTo(Money money) { Bank bank = new Bank(); return this.Amount * bank.GetRate() == money.Amount; }
public void TestGetRate() { Bank bank = new Bank(); Assert.AreEqual(0.5, bank.GetRate("CHF", "USD")); }