public void ICollectionT() { ICollection <int> queue = new LLQueue <int>(); Assert.IsFalse(queue.IsReadOnly); queue.Add(1); foreach (int i in queue) { Assert.AreEqual(1, i); } }
public void ICollectionT() { ICollection<int> queue = new LLQueue<int>(); Assert.IsFalse(queue.IsReadOnly); queue.Add(1); foreach(int i in queue) Assert.AreEqual(1, i); }