Пример #1
0
        private static decimal RunTest(ITest test, Assembly assembly, TextWriter output)
        {
            var result = test.CalculateResult(assembly);

            output.WriteLine("{0} ({1} {2}) - {3}", test.Name, result.Points, result.Points == 1 ? "point" : "points", result.TextResult);
            return(result.Points);
        }