public void NotContainTest() { MyQueue<int> Queue = new MyArrayQueue<int>(); Queue.Enqueue(31); Queue.Enqueue(9); Assert.AreEqual(Queue.Contains(63), false); }
public void ContainTest() { MyQueue<int> Queue = new MyArrayQueue<int>(); Queue.Enqueue(31); Queue.Enqueue(9); Assert.AreEqual(Queue.Contains(31), true); }
public void NotContainTest() { MyQueue <int> Queue = new MyArrayQueue <int>(); Queue.Enqueue(31); Queue.Enqueue(9); Assert.AreEqual(Queue.Contains(63), false); }
public void ContainTest() { MyQueue <int> Queue = new MyArrayQueue <int>(); Queue.Enqueue(31); Queue.Enqueue(9); Assert.AreEqual(Queue.Contains(31), true); }