public void FindStart(int[] head, int special) { Assert.That(LoopDetection.FindStart(CreateLoopList(head, special)).Value, Is.EqualTo(special)); }
public bool IsLoopTest(int[] head, int special) => LoopDetection.HasLoop(CreateLoopList(head, special));