public void TestAddAll2()
        {
            CopyOnWriteArraySet <Object> full = PopulatedSet(3);
            ArrayList <Object>           v    = new ArrayList <Object>();

            v.Add(3);
            v.Add(4);
            v.Add(1);  // will not add this element
            full.AddAll(v);
            Assert.AreEqual(5, full.Size());
        }
        public void TestAddAll()
        {
            CopyOnWriteArraySet <Object> full = PopulatedSet(3);
            ArrayList <Object>           v    = new ArrayList <Object>();

            v.Add(three);
            v.Add(four);
            v.Add(five);
            full.AddAll(v);
            Assert.AreEqual(6, full.Size());
        }