public void GivenIHaveAOneStarNineByNineSudokuWithValuesBetweenOneAndNineInXmlFormat()
        {
            var testFileFolder = Path.Combine(FileAndFolderHelpers.GetAssemblyDirectory, "TestFiles");

            if (!Directory.Exists(testFileFolder))
            {
                Directory.CreateDirectory(testFileFolder);
            }
            _xmlFile = Path.Combine(FileAndFolderHelpers.GetAssemblyDirectory, "TestFiles", "Sudoku-1star.xml");
            SudokuFileMother.CreateFile(_xmlFile);
        }
示例#2
0
 protected override void Arrange()
 {
     _xmlFileName    = "Sudoku-1star.xml";
     _originalsudoku = SudokuFileMother.CreateFile(_xmlFileName);
 }