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