public void TestPushStageList() { PhaseList ls = new PhaseList(); ls.add(new PhaseSimple(0)); ls.add(new PhaseSimple(1)); ls.add(new PhaseSimple(2)); PhaseList ls2 = new PhaseList(); ls2.add(new PhaseSimple(3)); ls2.add(new PhaseSimple(4)); ls.pushList(ls2); Assert.AreEqual(ls.pop().playerID, 3); Assert.AreEqual(ls.pop().playerID, 4); Assert.AreEqual(ls.pop().playerID, 0); Assert.AreEqual(ls.pop().playerID, 1); Assert.AreEqual(ls.pop().playerID, 2); }