Esempio n. 1
0
        private static int ExecuteTest(TestOptions options)
        {
            if (!options.Validate())
            {
                return(1);
            }

            var tester = new FileTester(options);
            var timer  = Stopwatch.StartNew();

            Console.WriteLine($"File '{options.Sorted}' test started...");

            tester.Test();

            Console.WriteLine($"File test executed at {timer.Elapsed}");
            return(0);
        }