Пример #1
0
        public void Test()
        {
            Level1  L1  = new Level1();
            Level2  L2  = new Level2();
            Level3  L3  = new Level3();
            Level4A L4A = new Level4A();
            Level4B L4B = new Level4B();

            Console.WriteLine("TEST APPLICATION");

            Console.WriteLine("\nTESTING Level1");
            L1.Method1();

            Console.WriteLine("\nTESTING Level2");
            L2.Method1();
            L2.Method2();

            Console.WriteLine("\nTESTING Level3");
            L3.Method1();
            L3.Method2();
            L3.Method3();

            Console.WriteLine("\nTESTING Level4A");
            L4A.Method1();
            L4A.Method2();
            L4A.Method3();

            Console.WriteLine("\nTESTING Level4B");
            L4B.Method1();
            L4B.Method2();
            L4B.Method3();

            Pause();
        }