public void TestLoadedLifo() { LifoQueue <string> lifoQueue = new LifoQueue <string>(); lifoQueue.Push("element"); Assert.False(lifoQueue.IsEmpty()); }
public void TestClearQueue() { LifoQueue <string> lifoQueue = new LifoQueue <string>(); lifoQueue.Push("One-Elemement"); lifoQueue.Clear(); Assert.True(lifoQueue.IsEmpty()); }
public void TestEmptyLifo() { LifoQueue <string> lifoQueue = new LifoQueue <string>(); Assert.True(lifoQueue.IsEmpty()); }