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