def test_complete_column(self): self.assertFalse(sudoku.complete_column(self.sudokuGrid, 3)) for x in range(9): self.sudokuGrid[x][0] = [9 - x] self.assertTrue(sudoku.complete_column(self.sudokuGrid, 0))
def test_complete_column(self): self.assertFalse(sudoku.complete_column(self.sudokuGridListified, 3)) for x in range(9): self.sudokuGridListified[x][0] = 9 - x self.assertTrue(sudoku.complete_column(self.sudokuGridListified, 0))