public static void Main()
        {
            Lab03TestModule tests = new Lab03TestModule();

            tests.PrepareTestSets();
            foreach (var ts in tests.TestSets)
            {
                ts.Value.PerformTests(false);
            }
        }
Пример #2
0
        public static void Main()
        {
            var a = new int[] { 5, 4, 3, 2 };

            for (int i = 0; i < a.Length; i++)
            {
                Console.Write(a[i].ToString() + ", ");
            }
            Array.Sort(a);
            Console.WriteLine("");
            for (int i = 0; i < a.Length; i++)
            {
                Console.Write(a[i].ToString() + ", ");
            }
            Console.WriteLine("----------------------");
            Lab03TestModule tests = new Lab03TestModule();

            tests.PrepareTestSets();
            foreach (var ts in tests.TestSets)
            {
                ts.Value.PerformTests(false);
            }
        }