예제 #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));
 }