Пример #1
0
        public void TestEnsureCapacity()
        {
            FasterList <int> listA = new FasterList <int>();

            listA.EnsureCapacity(10);

            Assert.That(listA.capacity, Is.EqualTo(10));
            Assert.That(listA.count, Is.EqualTo(0));
        }
Пример #2
0
 public void EnsureCapacity(uint preparecount)
 {
     groups.EnsureCapacity(preparecount);
 }