public void AreTheSame() { var e1 = new EventTest(); var e2 = new EventTest(); Assert.Equal(e1.GetHashCode(), e2.GetHashCode()); }
public void NotSame() { var e1 = new EventTest(); e1.EventId = "Heool World"; var e2 = new EventTest(); Assert.NotEqual(e1.GetHashCode(), e2.GetHashCode()); }
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()); }
public void TestEventTestHashCodeNotEquals() { Assert.AreNotEqual(_vent1.GetHashCode(), _vent2.GetHashCode()); }