public void WhenInsertNodeAndListEmpty_ExpectTailSet()
 {
     var val = 21;
     ILinkedListTailPointer linkedListTail = new LinkedListTailPointer();
     linkedListTail. InsertAfter(null, val);
     Assert.AreEqual(val, linkedListTail.GetTail().Value);
 }
        public void WhenInsertNodeAndKistEmpty_ExpectHeadSet()
        {
            var val = 21;
            ILinkedListTailPointer linkedListTail = new LinkedListTailPointer();

            linkedListTail.InsertAfter(null, val);
            Assert.AreEqual(val, linkedListTail.GetHead().Value);
        }
        public void WhenInsertAfterHasNullElement_ExpectInsertOnHead()
        {
            ILinkedListTailPointer linkedListTail = new LinkedListTailPointer();

            linkedListTail.InsertAfter(null, 21);
        }
        public void WhenInsertAfterHasNullElement_ExpectInsertOnHead()
        {
            ILinkedListTailPointer linkedListTail = new LinkedListTailPointer();

            linkedListTail.InsertAfter(null, 21);
        }