Example #1
0
        public void Decrement(Integer value, Integer expected)
        {
            using (Immutability.Guard(value))
            {
                var actualOp = value; --actualOp;
                var actualFu = value.Decrement();

                Assert.Equal(expected, actualOp);
                Assert.Equal(expected, actualFu);
            }
        }