public void TestClear() { stack S5 = new stack(10); S5.Push(1); S5.Push(2); S5.Push(3); S5.Push(4); S5.Push(5); S5.Push(6); S5.Push(7); S5.Clear(); Assert.AreEqual(0, S5.Count()); }