Ejemplo n.º 1
0
        public void LoopStart_7154c52874_5()
        {
            SingleLinkedList <int> list = SingleLinkedList <int> .GenerateCyclic(
                new int[] { 7, 1, 5, 4 },
                new int[] { 5, 2, 8, 7, 4 }
                );

            var cycleStart = list.LoopStart();

            Assert.AreEqual(5, cycleStart?.Value);
        }