Exemple #1
0
 public static void BestCodeRandomTest()
 {
     Console.WriteLine("200 Random Tests");
     for (int i = 0; i < 200; i++)
     {
         String[] s1 = DoEx(rnd.Next(100, 200));
         int      n  = rnd.Next(1, s1.Length + 2);
         testing(LongestConsecutives.BestCode(s1, n), LongestConsecSol(s1, n));
     }
 }