public void BoundaryTest_GetLeafs() { EventComponent e = new EventComposite("t","d",ole); Assert.AreEqual(true, e.GetLeafs().Length == 0); Assert.AreEqual(true, Event4.GetLeafs().Length == 0); Assert.AreEqual(true, Event5.GetLeafs().Length == 5); }
public void GetLeafs_BoundaryTest() { EventComponent e = new EventComposite("t", "d", ole, new IAccount[0]); Assert.AreEqual(true, e.GetLeafs().Length == 0); Assert.AreEqual(true, Event4.GetLeafs().Length == 0); Assert.AreEqual(true, Event5.GetLeafs().Length == 5); }