public static void Testing() { int ciclos = 100; int SumatoriaProm = 0; int Maximo = 0; int Minimo = 0; for (int m = 0; m < ciclos; m++) { MathRNG obj = new MathRNG(1, 100, UnityEngine.Random.Range(1, 999999999)); var lst = new List <String>(); for (int l = 0; l < 300; l++) { lst.Add(((Int32)obj.NextValue()).ToString()); } var lstgr = lst.Distinct(); SumatoriaProm += lstgr.Count(); Maximo = lstgr.Count() > Maximo?lstgr.Count() : Maximo; Minimo = lstgr.Count() < Minimo || Minimo == 0 ? lstgr.Count() : Minimo; //Debug.Log("Seed " + obj.Seed + ": " + lstgr.Count()); //Debug.Log(String.Join(", ", lst)); //Debug.Log(String.Join(", ", lstgr)); } SumatoriaProm = SumatoriaProm / ciclos; Debug.Log("Maximo: " + Maximo); Debug.Log("Promedio: " + SumatoriaProm); Debug.Log("Minimo: " + Minimo); }