public void DecModifierMix() { // do not use Assert.AreEqual to test if Prices are equal var p = new UnitPrice(2, 100, CurrencyUnit.EUR, TimeSpanUnit.Hour); Assert.IsTrue(p == p.Dec(pN)); Assert.IsTrue(p == p.Dec(pZ)); }
public void DecModifierZero() { // do not use Assert.AreEqual to test if Prices are equal Assert.IsTrue(pZ == pZ.Dec(p11)); }