public void IsWriteTest()
        {
            var arr = new FastArrayList <int>(5);

            Assert.IsTrue(arr.IsEmpty);
            Assert.AreEqual(5, arr.Size);

            Assert.IsTrue(arr.IsAvailableWrite);
            arr.Append(1);
            arr.Prepend(2);
            arr.Append(3);
            arr.Append(4);
            Assert.IsTrue(arr.IsAvailableWrite);
            arr.Append(5);

            Assert.IsFalse(arr.IsAvailableWrite);
            arr.Append(5);
            arr.Append(5);
            arr.RemoveLast();
            Assert.IsTrue(arr.IsAvailableWrite);
        }