Пример #1
0
        public void SimpleIndexedEnumPositiveOffsetCarryOverForwardTest()
        {
            SimpleIndexedEnumPositiveOffset expected = SimpleIndexedEnumPositiveOffset.Four;

            SimpleIndexedEnumPositiveOffset result = expected.Next();

            Assert.AreEqual(SimpleIndexedEnumPositiveOffset.Null, result);
        }
Пример #2
0
        public void SimpleIndexedEnumPositiveOffsetDoubleNextTest()
        {
            SimpleIndexedEnumPositiveOffset expected = SimpleIndexedEnumPositiveOffset.One;

            SimpleIndexedEnumPositiveOffset result = expected.Next().Next();

            Assert.AreEqual(SimpleIndexedEnumPositiveOffset.Three, result);
        }