Exemple #1
0
        public void ShoudNotReturnNextValue()
        {
            RangeValueProvider provider;

            provider = new RangeValueProvider();
            Assert.ThrowsException <ArgumentOutOfRangeException>(() => provider.GetNextValue(char.MaxValue));
        }
Exemple #2
0
        public void ShoudReturnNextValue()
        {
            RangeValueProvider provider;

            provider = new RangeValueProvider();
            Assert.AreEqual('b', provider.GetNextValue('a'));
        }