public void DefaultConstruct() { Asat.Framework.Event.Event <int> e = new Asat.Framework.Event.Event <int>(); Assert.AreEqual(e.GetEventId(), -1); Assert.AreEqual(e.GetEventTypeId(), -1); Assert.AreEqual(e.GetData(), default(int)); }
public void SpecifiedConstructEvent() { Asat.Framework.Event.Event <int> e = new Asat.Framework.Event.Event <int>(1, 2, 3); Assert.AreEqual(e.GetEventId(), 1); Assert.AreEqual(e.GetEventTypeId(), 2); Assert.AreEqual(e.GetData(), 3); }