示例#1
0
        /// <summary>
        ///
        /// </summary>
        public static void RunTests()
        {
            Console = Boot.Console;

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

            var delegateTest   = new DelegateTest();
            var stringTest     = new StringTest();
            var interfaceTest  = new InterfaceTest();
            var genericsTest   = new GenericTest();
            var generics2Test  = new Generic2Test();
            var isInstanceTest = new IsInstanceTest();
            var exceptionTest  = new ExceptionTest();
            var plugTestTest   = new PlugTestTest();
            var compareTest    = new ComparisonTest();
            var simpleTest     = new OptimizationTest();
            var reflectionTest = new ReflectionTest();
            var arrayTest      = new ArrayTest();
            var int64Test      = new Int64Test();
            var otherTest      = new OtherTest();

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

            reflectionTest.Test();
            arrayTest.Test();
            otherTest.Test();
        }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        public static void RunTests()
        {
            Console = Boot.Console;

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

            var delegateTest = new DelegateTest();
            var stringTest = new StringTest();
            var interfaceTest = new InterfaceTest();
            var genericsTest = new GenericTest();
            var generics2Test = new Generic2Test();
            var isInstanceTest = new IsInstanceTest();
            var exceptionTest = new ExceptionTest();
            var plugTestTest = new PlugTestTest();
            var compareTest = new ComparisonTest();
            var simpleTest = new OptimizationTest();
            var reflectionTest = new ReflectionTest();
            var arrayTest = new ArrayTest();
            var int64Test = new Int64Test();
            var otherTest = new OtherTest();

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

            //reflectionTest.Test();
            arrayTest.Test();
            int64Test.Test();
            otherTest.Test();
        }
示例#3
0
        /// <summary>
        /// Runs the tests.
        /// </summary>
        public static void RunTests()
        {
            Screen.Color = ScreenColor.Yellow;
            Screen.Write('[');
            Screen.Color = ScreenColor.White;
            Screen.Write("Tests");
            Screen.Color = ScreenColor.Yellow;
            Screen.Write(']');
            Screen.WriteLine();
            Screen.WriteLine();
            Screen.Color = ScreenColor.Yellow;

            var delegateTest   = new DelegateTest();
            var stringTest     = new StringTest();
            var interfaceTest  = new InterfaceTest();
            var genericsTest   = new GenericTest();
            var generics2Test  = new Generic2Test();
            var isInstanceTest = new IsInstanceTest();
            var exceptionTest  = new ExceptionTest();
            var plugTestTest   = new PlugTestTest();
            var compareTest    = new ComparisonTest();
            var simpleTest     = new OptimizationTest();
            var reflectionTest = new ReflectionTest();
            var arrayTest      = new ArrayTest();
            var int64Test      = new Int64Test();
            var otherTest      = new OtherTest();

            otherTest.Test();
            int64Test.Test();
            delegateTest.Test();
            stringTest.Test();
            interfaceTest.Test();
            genericsTest.Test();
            generics2Test.Test();
            isInstanceTest.Test();
            exceptionTest.Test();
            plugTestTest.Test();
            compareTest.Test();
            simpleTest.Test();
            arrayTest.Test();
            reflectionTest.Test();

            Screen.WriteLine();
            Screen.WriteLine();
        }