Exemple #1
0
        public void SmallerThanOperatorWithBothObjectsNull()
        {
            DatasetLockKey first  = null;
            DatasetLockKey second = null;

            Assert.IsFalse(first < second);
        }
Exemple #2
0
        public void SmallerThanOperatorWithSecondObjectNull()
        {
            var            first  = new DatasetLockKey(10);
            DatasetLockKey second = null;

            Assert.IsFalse(first < second);
        }
Exemple #3
0
        public void SmallerThanOperatorWithFirstObjectNull()
        {
            DatasetLockKey first  = null;
            var            second = new DatasetLockKey(10);

            Assert.IsTrue(first < second);
        }
Exemple #4
0
        public void LargerThanOperatorWithFirstObjectLarger()
        {
            var first  = new DatasetLockKey(11);
            var second = new DatasetLockKey(10);

            Assert.IsTrue(first > second);
        }
Exemple #5
0
        public void LargerThanOperatorWithSecondObjectNull()
        {
            var            first  = new DatasetLockKey(10);
            DatasetLockKey second = null;

            Assert.IsTrue(first > second);
        }
Exemple #6
0
        public void LargerThanOperatorWithFirstObjectNull()
        {
            DatasetLockKey first  = null;
            var            second = new DatasetLockKey(10);

            Assert.IsFalse(first > second);
        }