public void IncModifierMix() { // do not use Assert.AreEqual to test if Prices are equal var p = new UnitPrice(1, 0, CurrencyUnit.EUR, TimeSpanUnit.Hour); Assert.IsTrue(p == p.Inc(pN)); Assert.IsTrue(p == p.Inc(pZ)); }
public void IncModifierZero() { // do not use Assert.AreEqual to test if Prices are equal Assert.IsTrue(pZ == pZ.Inc(p11)); }