Example #1
0
 public void TestMethod(string[] strs, bool output)
 {
     char[,] board = new char[9, 9];
     for (var i = 0; i < strs.Length; i++)
     {
         for (var j = 0; j < strs[i].Length; j++)
         {
             board[i, j] = strs[i][j];
         }
     }
     Assert.Equal(output, Solution036.IsValidSudoku2(board));
 }
Example #2
0
 public void Solves_Problem_0036_Example()
 {
     Solution036.Run(100).Should().Be(157);
 }