Пример #1
0
        public void ModifyPositionWithIndexer()
        {
            AssertNLinearInserts(10);

            _myArray[5] = 100;
            AssertValue(100, 5);

            _myArray[15] = 200;
            AssertValue(200, 15);

            _myArray[100] = 500;
            Assert.IsTrue(_myArray.Count() < 50, "This should not expand that much");
        }