public void AddFirst_SetsHeadAndTail_GivenEmptyList() { var value = 1; sut.AddFirst(value); AssertSingleElement(value); }
public void Push(T value) { linkedList.AddFirst(value); }
public void AddFirst_SetsHeadAndTail_GivenEmptyList() { var value = 1; sut.AddFirst(value); AssertSingleElement(value); }
public void Push(T value) { linkedList.AddFirst(value); }