Example #1
0
        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));
        }
Example #2
0
        public void IncModifierZero()
        {
            // do not use Assert.AreEqual to test if Prices are equal

            Assert.IsTrue(pZ == pZ.Inc(p11));
        }