public void CompatibleCurrencyUnitsMix() { Assert.IsTrue(Price.CompatibleCurrencyUnits(pN, p33)); Assert.IsTrue(Price.CompatibleCurrencyUnits(p22, pN)); Assert.IsTrue(Price.CompatibleCurrencyUnits(pZ, p33)); Assert.IsTrue(Price.CompatibleCurrencyUnits(p22, pZ)); }
public void CompatibleCurrencyUnitsZero() { Assert.IsTrue(Price.CompatibleCurrencyUnits(pN, pN)); Assert.IsTrue(Price.CompatibleCurrencyUnits(pN, pZ)); Assert.IsTrue(Price.CompatibleCurrencyUnits(pZ, pN)); Assert.IsTrue(Price.CompatibleCurrencyUnits(pZ, pZ)); }
public void CompatibleDifferentCurrency() { Price.CompatibleCurrencyUnits(pEUR, pUSD); }
public void CompatibleCurrencyUnitsOK() { Assert.IsTrue(Price.CompatibleCurrencyUnits(p22, p33)); }