public void Solution1() { const string givens = "..15.6.9.37.19....9.......6...643.1...........4.981...5.......2....25.68.8.4.93.."; const string expected = "821536794376194285954872136295643817138257649647981523569318472413725968782469351"; var input = _converter.Deserialize(givens); var actual = _bruteForceSolver.Solve(input); var actualString = _converter.Serialize(actual); Assert.Equal(expected, actualString); }
public void Save(StorageDto storageDto) { _storageProvider.Save(nameof(StorageDto.Grid), _gridSerializer.Serialize(storageDto.Grid)); _storageProvider.Save(nameof(StorageDto.Difficulty), storageDto.Difficulty); }