public PrintTestRunner(string name, IResultGenerator resultGenerator, IResultAnalyzer resultAnalyzer) { this.resultGenerator = resultGenerator; this.resultAnalyzer = resultAnalyzer; directory = TestDataPaths.GetTestDataDirectory(name); }
public void GenerateFile() { resultGenerator.GenerateResultFile( TestDataPaths.GetMeshFilePath(directory), TestDataPaths.GetResultFilePath(directory)); }
public void CompareResults() { resultAnalyzer.CompareResults( TestDataPaths.GetExpectedFilePath(directory), TestDataPaths.GetResultFilePath(directory)); }