public void SimpleIndexedEnumNegativeOffsetCarryOverForwardTest() { SimpleIndexedEnumNegativeOffset expected = SimpleIndexedEnumNegativeOffset.Four; SimpleIndexedEnumNegativeOffset result = expected.Next(); Assert.AreEqual(SimpleIndexedEnumNegativeOffset.Null, result); }
public void SimpleIndexedEnumNegativeOffsetDoubleNextTest() { SimpleIndexedEnumNegativeOffset expected = SimpleIndexedEnumNegativeOffset.One; SimpleIndexedEnumNegativeOffset result = expected.Next().Next(); Assert.AreEqual(SimpleIndexedEnumNegativeOffset.Three, result); }