public void DoubleIncrement() { Assert.Equal(1d, Incrementor <double> .Increment(0d)); }
public void DecimalIncrement() { Assert.Equal(1M, Incrementor <decimal> .Increment(0M)); }
public void DoubleDecrement() { Assert.Equal(-1d, Incrementor <double> .Decrement(0d)); }
public void BigDecimalIncrement() { Assert.Equal(BigDecimal.One, Incrementor <BigDecimal> .Increment(BigDecimal.Zero)); }
public void DecimalDecrement() { Assert.Equal(-1M, Incrementor <decimal> .Decrement(0M)); }
public void ByteIncrement() { Assert.Equal((byte)1, Incrementor <byte> .Increment((byte)0)); }
public void BigDecimalDecrement() { Assert.Equal(BigDecimal.MinusOne, Incrementor <BigDecimal> .Decrement(BigDecimal.Zero)); }
public void Int32Increment() { Assert.Equal(1, Incrementor <int> .Increment(0)); }
public void ByteDecrement() { Assert.Equal((byte)0, Incrementor <byte> .Decrement((byte)1)); }
public void IncrementableIncrement() { Assert.Equal(Incrementable.MaxValue, Incrementor <Incrementable> .Increment(new Incrementable())); }
public void Int32Decrement() { Assert.Equal(-1, Incrementor <int> .Decrement(0)); }
public void IncrementableDecrement() { Assert.Equal(Incrementable.MinValue, Incrementor <Incrementable> .Decrement(new Incrementable())); }
public void CharIncrement() { Assert.Equal('c', Incrementor <char> .Increment('b')); }
public void CharDecrement() { Assert.Equal('a', Incrementor <char> .Decrement('b')); }
public void BigIntegerIncrement() { Assert.Equal(BigInteger.One, Incrementor <BigInteger> .Increment(BigInteger.Zero)); }
public void BigIntegerDecrement() { Assert.Equal(BigInteger.MinusOne, Incrementor <BigInteger> .Decrement(BigInteger.Zero)); }