From: Eevee Date: Wed, 7 Jan 2009 14:58:52 +0000 (-0500) Subject: Documented constraints.diagonal test more better. X-Git-Url: http://git.veekun.com/pseudoku.git/commitdiff_plain/1ebfc79f097b15fd37d3441344148a77c541ae08 Documented constraints.diagonal test more better. --- diff --git a/pseudoku/tests/constraints/diagonal.py b/pseudoku/tests/constraints/diagonal.py index c118339..19532b2 100644 --- a/pseudoku/tests/constraints/diagonal.py +++ b/pseudoku/tests/constraints/diagonal.py @@ -4,10 +4,11 @@ from pseudoku.grid.constraints import Diagonal 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