示例#1
0
        public void AddFirst_SetsHeadAndTail_GivenEmptyList()
        {
            var value = 1;

            sut.AddFirst(value);

            AssertSingleElement(value);
        }
 public void Push(T value)
 {
     linkedList.AddFirst(value);
 }