コード例 #1
0
        public void SimpleIndexedEnumNegativeOffsetCarryOverForwardTest()
        {
            SimpleIndexedEnumNegativeOffset expected = SimpleIndexedEnumNegativeOffset.Four;

            SimpleIndexedEnumNegativeOffset result = expected.Next();

            Assert.AreEqual(SimpleIndexedEnumNegativeOffset.Null, result);
        }
コード例 #2
0
        public void SimpleIndexedEnumNegativeOffsetDoubleNextTest()
        {
            SimpleIndexedEnumNegativeOffset expected = SimpleIndexedEnumNegativeOffset.One;

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

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