コード例 #1
0
        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));
        }
コード例 #2
0
        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));
        }
コード例 #3
0
 public void CompatibleDifferentCurrency()
 {
     Price.CompatibleCurrencyUnits(pEUR, pUSD);
 }
コード例 #4
0
 public void CompatibleCurrencyUnitsOK()
 {
     Assert.IsTrue(Price.CompatibleCurrencyUnits(p22, p33));
 }