public void TestSerialization()
{
ProjectLongoMatch p = new ProjectLongoMatch ();
Utils.CheckSerialization (p);
p = CreateProject ();
Utils.CheckSerialization (p);
p.AddEvent (new TimelineEventLongoMatch ());
Utils.CheckSerialization (p);
ProjectLongoMatch newp = Utils.SerializeDeserialize (p);
Assert.AreEqual (newp.CompareTo (p), 0);
Assert.AreEqual (newp.Timeline.Count, p.Timeline.Count);
}