public void ExceptionNullVisitor() { var sortedList = SortedListTest.GetTestList(); sortedList.AcceptVisitor(null); }
public void ExceptionNullArray() { var sortedList = SortedListTest.GetTestList(); Assert.Throws <ArgumentNullException>(() => sortedList.CopyTo(null, 0)); }
public void ExceptionInvalidIndexGet4() { var sortedList = SortedListTest.GetTestList(); var i = sortedList[-1]; }
public void ExceptionInvalidIndexGet3() { var sortedList = SortedListTest.GetTestList(); var i = sortedList[sortedList.Count]; }
public void ExceptionNullVisitor() { var sortedList = SortedListTest.GetTestList(); Assert.Throws <ArgumentNullException>(() => sortedList.AcceptVisitor(null)); }
public void ExceptionNullArray() { var sortedList = SortedListTest.GetTestList(); sortedList.CopyTo(null, 0); }