public void TestPushPop() { StackBase <string> stack = new LockStack <string>(); base.TestPushPop(stack); Assert.IsTrue(stack.IsEmpty, @"Stack must be empty!"); }
public void LockStackPushPopW2Threads() { StackBase <string> stack = new LockStack <string>(); base.TestPushPop(stack, 2); }
public void LockStackPushW4Threads() { StackBase <string> stack = new LockStack <string>(); base.TestPush(stack, 4); }
public void TestPush() { StackBase <string> stack = new LockStack <string>(); base.TestPush(stack); }