Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }