Esempio n. 1
0
        /// <summary>
        /// 
        /// </summary>
        public static void RunTests()
        {
            Screen.Goto(23, 0);
            Screen.Color = Colors.Yellow;
            Screen.Write("[");
            Screen.Color = Colors.White;
            Screen.Write("Tests");
            Screen.Color = Colors.Yellow;
            Screen.Write("]");

            var stringTest = new StringTest();
            var interfaceTest = new InterfaceTest();
            var genericsTest = new GenericTest();
            var generics2Test = new Generic2Test();
            var isInstanceTest = new IsInstTest();
            var exceptionTest = new ExceptionTest();
            var plugTestTest = new PlugTestTest();

            stringTest.Test();
            interfaceTest.Test();
            genericsTest.Test();
            generics2Test.Test();
            isInstanceTest.Test();
            exceptionTest.Test();
            plugTestTest.Test();
        }
Esempio n. 2
0
        /// <summary>
        /// 
        /// </summary>
        public static void RunTests()
        {
            Console = Boot.Console;

            Console.Goto(20, 0);
            Console.Color = Colors.Yellow;
            Console.Write("[");
            Console.Color = Colors.White;
            Console.Write("Tests");
            Console.Color = Colors.Yellow;
            Console.Write("]");

            var stringTest = new StringTest();
            var interfaceTest = new InterfaceTest();
            var genericsTest = new GenericTest();
            var generics2Test = new Generic2Test();
            var isInstanceTest = new IsInstTest();
            var exceptionTest = new ExceptionTest();
            var plugTestTest = new PlugTestTest();
            var compareTest = new ComparisonTest();
            var simpleTest = new SimpleTest();

            stringTest.Test();
            interfaceTest.Test();
            genericsTest.Test();
            generics2Test.Test();
            isInstanceTest.Test();
            exceptionTest.Test();
            plugTestTest.Test();
            compareTest.Test();
            simpleTest.Test();
        }