public void Expandability() { LegacyList expandableList = new LegacyList(); Assert.AreEqual(10, expandableList.Capacity()); for (int i = 0; i < 11; i++) { expandableList.Add(i); } Assert.AreEqual(11, expandableList.Size()); Assert.AreEqual(20, expandableList.Capacity()); }