public void Generic_Add() { IList<int> b = new List<int>(); var fc = new FastCollection<IList<int>, int>(); fc.Add(b, 2); Assert.AreEqual(1, b.Count); }
public void Remove() { IList b = new List<int>(); var fc = new FastCollection<IList>(); fc.Add(b, 2); Assert.AreEqual(1, b.Count); fc.Remove(b, 2); Assert.AreEqual(0, b.Count); }