public void SparseEnumNegativeOffsetCarryOverBackwardTest() { SparseEnumNegativeOffset expected = SparseEnumNegativeOffset.Null; SparseEnumNegativeOffset result = expected.Previous(); Assert.AreEqual(SparseEnumNegativeOffset.Four, result); }
public void SparseEnumNegativeOffsetDoublePreviousTest() { SparseEnumNegativeOffset expected = SparseEnumNegativeOffset.Three; SparseEnumNegativeOffset result = expected.Previous().Previous(); Assert.AreEqual(SparseEnumNegativeOffset.One, result); }
public void SparseEnumNegativeOffsetCarryOverForwardTest() { SparseEnumNegativeOffset expected = SparseEnumNegativeOffset.Four; SparseEnumNegativeOffset result = expected.Next(); Assert.AreEqual(SparseEnumNegativeOffset.Null, result); }
public void SparseEnumNegativeOffsetDoubleNextTest() { SparseEnumNegativeOffset expected = SparseEnumNegativeOffset.One; SparseEnumNegativeOffset result = expected.Next().Next(); Assert.AreEqual(SparseEnumNegativeOffset.Three, result); }
public void SparseEnumNegativeOffsetMaxTest() { SparseEnumNegativeOffset result = EnumExtension.Max <SparseEnumNegativeOffset>(); Assert.AreEqual(SparseEnumNegativeOffset.Four, result); }
public void SparseEnumNegativeOffsetMinTest() { SparseEnumNegativeOffset result = EnumExtension.Min <SparseEnumNegativeOffset>(); Assert.AreEqual(SparseEnumNegativeOffset.Null, result); }