Ejemplo n.º 1
0
        public PrintTestRunner(string name, IResultGenerator resultGenerator, IResultAnalyzer resultAnalyzer)
        {
            this.resultGenerator = resultGenerator;
            this.resultAnalyzer  = resultAnalyzer;

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