Esempio n. 1
0
        public void EventListenerTests_CompareTo_Other()
        {
            var instance      = new Mocks.MockEventListener(true, false);
            var otherInstance = new Mocks.MockEventListener(true, false);

            Assert.AreEqual(instance.UniqueIdentifier.CompareTo(otherInstance.UniqueIdentifier), instance.CompareTo(otherInstance));
        }
Esempio n. 2
0
        public void EventListenerTests_CompareTo_Null()
        {
            var instance = new Mocks.MockEventListener(true, false);

            Assert.AreEqual(-1, instance.CompareTo(null));
        }