Example #1
0
        private static void Main(string[] args)
        {
            if (args.Length > 0)
            {
                Main2(args, true);
                return;
            }

            int nCicli = RandomClass.RandomInt(7, 10);

            for (int i = 0; i < nCicli; i++)
            {
                int n = GeneratoreClass.GeneraNumeroTest() + i;

                int righe = GeneratoreClass.GeneraRighe() + i;

                args = new string[] { "-g", n.ToString(), righe.ToString(), "Y" };
                Main2(args, false);
            }
        }
Example #2
0
 internal static int GeneraRighe()
 {
     return(RandomClass.RandomInt(100, 200) * RandomClass.RandomInt(1, 4) * RandomClass.RandomInt(100, 200) * RandomClass.RandomInt(2, 5));
 }
Example #3
0
 internal static int GeneraNumeroTest()
 {
     return(RandomClass.RandomInt(10, 100));
 }