public void Insert() { var list = new NaiveLockingList <int> { 0, 1, 2, 3 }; list.Insert(2, 999); CollectionAssert.AreEqual(new[] { 0, 1, 999, 2, 3 }, list); }
public void Insert() { var list = new NaiveLockingList<int> {0, 1, 2, 3}; list.Insert(2, 999); CollectionAssert.AreEqual(new[] {0, 1, 999, 2, 3}, list); }