public void Remove_RemoveFromEmptyList_CountShouldStayTheSame() { CustomListTest <int> test = new CustomListTest <int>(); int expected = 0; int actual = 0; test.Remove(0); actual = test.Count; Assert.AreEqual(expected, actual); }
public void Remove_RemoveFromPopulatedList_CountShouldDecreaseByOne() { CustomListTest <int> test = new CustomListTest <int>(); int expected; int actual = 0; test.Remove(0) actual = test.Count; Assert.AreEqual(expected, actual); }
public void Remove_RemoveFromPopulatedList_ItemShouldBeRemovedAtIndexNine() { CustomListTest <int> test = new CustomListTest <int>(); int expected = 9; int actual; test.Remove(9); actual = test[9]; Assert.AreEqual(expected, actual); }
public void Remove_RemoveFromPopulatedList_ItemIsRemoved() { CustomListTest <int> test = new CustomListTest <int>(); int expected = 0; int actual; test.Remove(0); actual = test[0]; Assert.AreEqual(expected, actual); }