Question

Problem Write test cases for the following code. A Sudoku puzzle is a square grid of cells n²x n² where n is a positive integer (for the purposes of this assignment).

The goal of the puzzle is to enter the numbers 1- n² into the cells of the grid such that Every row contains all numbers from 1-n² Every column contains all numbers from 1-n². Every mini-grid contains all numbers from 1- n². The mini-grid reference in this description is an n x n sub-grid of the larger puzzle and where n² mini-grids completely cover the grid (see Figure 1).