예제 #1
0
        public void IsEmpty01()
        {
            var cq = new CircularStack <int>(1);

            Assert.IsTrue(cq.IsEmpty());
            cq.Push(1);
            Assert.IsFalse(cq.IsEmpty());
            cq.Pop();
            Assert.IsTrue(cq.IsEmpty());
        }