[HAI] isValidSudoku WIP
This commit is contained in:
@@ -4,7 +4,7 @@ import { isValidSudoku } from "./isValidSudoku.ts";
|
||||
describe("isValidSudoku", () => {
|
||||
|
||||
it("true case", () => {
|
||||
const board =
|
||||
let board =
|
||||
[["5", "3", ".", ".", "7", ".", ".", ".", "."]
|
||||
, ["6", ".", ".", "1", "9", "5", ".", ".", "."]
|
||||
, [".", "9", "8", ".", ".", ".", ".", "6", "."]
|
||||
@@ -19,7 +19,7 @@ describe("isValidSudoku", () => {
|
||||
});
|
||||
|
||||
it("false case", () => {
|
||||
const board =
|
||||
let board =
|
||||
[["8", "3", ".", ".", "7", ".", ".", ".", "."]
|
||||
, ["6", ".", ".", "1", "9", "5", ".", ".", "."]
|
||||
, [".", "9", "8", ".", ".", ".", ".", "6", "."]
|
||||
|
||||
Reference in New Issue
Block a user