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