public void Enlarge() { A.Enlarge(); Assert.AreEqual(0, A.Head); Assert.AreEqual(10, A.Size); Assert.AreEqual(32, A.Array.Length); for (int i = 0; i < 10; ++i) { Assert.AreEqual(i + 1, A[i]); } }
public void Enlarge() { A.Enlarge(); Assert.AreEqual(0, A.Head); Assert.AreEqual(10, A.Size); Assert.AreEqual(32, A.Array.Length); for (int i = 0; i < 10; ++i) { Assert.AreEqual(i + 1, A[i]); } }