public void Test_Grid50() { /* * 483 is the 3-digit number found in the top left corner of the solution grid above. */ var sudokuBrettListe = GetSuDokuBrettFromFile(); var sut = new E096SuDoku(); Assert.Equal(351, sut.Solve(sudokuBrettListe[49]).GetTopLeftCornerValue()); }
public void Solution() { /* * By solving all fifty puzzles find the sum of the 3-digit numbers found in the top left corner of each solution grid; for example, * * 483 is the 3-digit number found in the top left corner of the solution grid above. */ var sudokuBrettListe = GetSuDokuBrettFromFile(); var sut = new E096SuDoku(); Assert.Equal(24702, sut.SolveAll(sudokuBrettListe)); /* * Congratulations, the answer you gave to problem 96 is correct. * You are the 14777th person to have solved this problem. * This problem had a difficulty rating of 25%. */ }