示例#1
0
        public void pushTest()
        {
            SeqStack <string> seqStack = new SeqStack <string>(10);

            seqStack.push("A");
            seqStack.push("B");
            seqStack.push("C");
            List <string> result = new List <string>()
            {
                "C", "B", "A"
            };

            CollectionAssert.AreEqual(seqStack.display(), result);
        }