From 1ebfc79f097b15fd37d3441344148a77c541ae08 Mon Sep 17 00:00:00 2001 From: Eevee Date: Wed, 7 Jan 2009 09:58:52 -0500 Subject: [PATCH] Documented constraints.diagonal test more better. --- pseudoku/tests/constraints/diagonal.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.7.4