public void AddFirstToEmptyElemADTListHeadTailTest() { // Arrange var emptyList = new ADTList <int>(); // Act emptyList.AddFirst(5); // Assert Assert.AreSame(emptyList.Head, emptyList.Tail); }
public void AddFirstToEmptyElemADTListCountTest() { // Arrange var emptyList = new ADTList <int>(); // Act emptyList.AddFirst(5); // Assert Assert.AreEqual(1, emptyList.Count); }