Example #1
0
        public void AreTheSame()
        {
            var e1 = new EventTest();
            var e2 = new EventTest();

            Assert.Equal(e1.GetHashCode(), e2.GetHashCode());
        }
Example #2
0
        public void NotSame()
        {
            var e1 = new EventTest();

            e1.EventId = "Heool World";

            var e2 = new EventTest();

            Assert.NotEqual(e1.GetHashCode(), e2.GetHashCode());
        }
Example #3
0
        public void EventSame()
        {
            var e1 = new EventTest();

            e1.EventId = "Heool World";

            var e2 = new EventTest();

            e2.ApplyEvents(e1.PeekEvents());

            Assert.Equal(e1.GetHashCode(), e2.GetHashCode());
        }
Example #4
0
 public void TestEventTestHashCodeNotEquals()
 {
     Assert.AreNotEqual(_vent1.GetHashCode(), _vent2.GetHashCode());
 }