예제 #1
0
        static void Main(string[] args)
        {
            var runner   = new TimedTestRunner();
            var reporter = new TestReporter(runner);

            Console.WriteLine(reporter.Report("Dummy:", Dummy));
            Console.WriteLine(reporter.Report("0 parameters:", Run0));
            Console.WriteLine(reporter.Report("3 parameters:", Run3));
            Console.WriteLine(reporter.Report("9 parameters:", Run9));
            Console.WriteLine(reporter.Report("12 parameters (2 chunks):", Run12Chunked));
        }
 public TestReporter(TimedTestRunner tr)
 {
     _Runner = tr;
     _SB     = new StringBuilder();
 }