public void EnqueueTest() { var stack = new M10.Generics_and_Collections.Stack <int>(); stack.Push(1); stack.Push(2); stack.Push(3); CollectionAssert.AreEqual(new int[] { 3, 2, 1 }, stack.ToArray()); }
public void TestException() { var stack = new M10.Generics_and_Collections.Stack <int>(); stack.Pop(); }