Beispiel #1
0
        public void SparseEnumNegativeOffsetCarryOverBackwardTest()
        {
            SparseEnumNegativeOffset expected = SparseEnumNegativeOffset.Null;

            SparseEnumNegativeOffset result = expected.Previous();

            Assert.AreEqual(SparseEnumNegativeOffset.Four, result);
        }
Beispiel #2
0
        public void SparseEnumNegativeOffsetDoublePreviousTest()
        {
            SparseEnumNegativeOffset expected = SparseEnumNegativeOffset.Three;

            SparseEnumNegativeOffset result = expected.Previous().Previous();

            Assert.AreEqual(SparseEnumNegativeOffset.One, result);
        }