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)); }
public void Solves_Problem_0036_Example() { Solution036.Run(100).Should().Be(157); }