public void SetsDataAtIndex() { var list = new SimpleArrayList <int>(2); list.Set(1, 2); Assert.AreEqual(2, list.Get(1)); }
public void SetThrowsIndexOutOfRange() { var list = new SimpleArrayList <int>(1); list.Set(1, 1); }
public void SetsDataAtIndex() { var list = new SimpleArrayList <int>(2); list.Set(1, 2); Assert.AreEqual(2, list.Get(1)); }
public void SetThrowsIndexOutOfRange() { var list = new SimpleArrayList <int>(1); list.Set(1, 1); }