Beispiel #1
0
        public void Add_AddsNewItemToList()
        {
            VirtualizingList<int> list = new VirtualizingList<int>();
            list.UpdateCount(20);

            list.Add(123);

            Assert.AreEqual(21, list.Count);
            Assert.AreEqual(123, list[20]);
        }