Ejemplo n.º 1
0
        public void RemoveRange_Valid_CountReflects()
        {
            hashList.Add(new Dummy());

            var items = new List <Dummy>
            {
                new Dummy(),
                new Dummy()
            };

            hashList.AddRange(items);

            hashList.RemoveRange(0, 2);

            Assert.AreEqual(1, hashList.Count);
        }