Example #1
0
        private static void ExecuteTask2Tests(ITestRunner testRunner)
        {
            var floatTests = new AdvancedMathTestContainer <float>(45, Program.TestRunsCount);

            testRunner.EvaluateTests(floatTests);

            var doubleTests = new AdvancedMathTestContainer <double>(45, Program.TestRunsCount);

            testRunner.EvaluateTests(doubleTests);

            var decimalTests = new AdvancedMathTestContainer <decimal>(45, Program.TestRunsCount);

            testRunner.EvaluateTests(decimalTests);
        }
Example #2
0
        private static void ExecuteTask1Tests(ITestRunner testRunner)
        {
            var intTests = new SimpleMathTestContainer <int>(1, 1, Program.TestRunsCount);

            testRunner.EvaluateTests(intTests);

            var longTests = new SimpleMathTestContainer <long>(1, 1, Program.TestRunsCount);

            testRunner.EvaluateTests(longTests);

            var floatTests = new SimpleMathTestContainer <float>(1, 1, Program.TestRunsCount);

            testRunner.EvaluateTests(floatTests);

            var doubleTests = new SimpleMathTestContainer <double>(1, 1, Program.TestRunsCount);

            testRunner.EvaluateTests(doubleTests);

            var decimalTests = new SimpleMathTestContainer <decimal>(1, 1, Program.TestRunsCount);

            testRunner.EvaluateTests(decimalTests);
        }