예제 #1
0
 public IEnumerable <Node <int> > LinkedLists()
 {
     yield return(MyLinkedList <int> .GenerateLinkedList(new int[] { 1, 7, 4, 1, 1, 6 }).Head);
 }
예제 #2
0
        public IEnumerable <object[]> LinkedLists()
        {
            var head = MyLinkedList <int> .GenerateLinkedList(new int[] { 1, 7, 4, 1, 1, 6 }).Head;

            yield return(new object[] { head, 3 });
        }