示例#1
0
        public PrintTestRunner(string name, IResultGenerator resultGenerator, IResultAnalyzer resultAnalyzer)
        {
            this.resultGenerator = resultGenerator;
            this.resultAnalyzer  = resultAnalyzer;

            directory = TestDataPaths.GetTestDataDirectory(name);
        }
示例#2
0
 public void GenerateFile()
 {
     resultGenerator.GenerateResultFile(
         TestDataPaths.GetMeshFilePath(directory),
         TestDataPaths.GetResultFilePath(directory));
 }
示例#3
0
 public void CompareResults()
 {
     resultAnalyzer.CompareResults(
         TestDataPaths.GetExpectedFilePath(directory),
         TestDataPaths.GetResultFilePath(directory));
 }