public void TestInsert() { FasterList <int> list = new FasterList <int>(); for (int i = 0; i < 10; i++) { list.InsertAt(0, i); } for (int i = 0; i < 10; i++) { Assert.That(list.Pop(), Is.EqualTo(i)); } Assert.That(list.capacity, Is.EqualTo(10)); Assert.That(list.count, Is.EqualTo(0)); }