from pseudoku.tests import SudokuTestCase
class DiagonalGridTestCase(SudokuTestCase):
- """Tests that grids with extra non-standard constraints are solved."""
-
+ """Tests that grids with extra Diagonal constraints are solved."""
def test_main_diagonals(self):
+ """Tests an easy puzzle with constraints along both main diagonals."""
+
grid = Grid.from_string("""
3...2...7 ...3.1... ..6...4..
89.....54 4...5...8 61.....32