#5752: [with patch, positive review] Bring doctests of sage/games/sudoku.py to
100%
---------------------+------------------------------------------------------
Reporter: rbeezer | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.1
Component: doctest | Keywords:
---------------------+------------------------------------------------------
Comment(by was):
Cool example in the docstring, though of course that the sudoku command at
the top level takes forever on this hard one is a bummer. I wish there
were a better solver in sage..
{{{
sage: B = matrix(ZZ, 9, 9, [ [0,0,0,0,1,0,9,0,0], [8,0,0,4,0,0,0,0,0],
[2,0,0,0,0,0,0,0,0], [0,7,0,0,3,0,0,0,0], [0,0,0,0,0,0,2,0,4],
[0,0,0,0,0,0,0,5,8], [0,6,0,0,0,0,1,3,0], [7,0,0,2,0,0,0,0,0],
[0,0,0,8,0,0,0,0,0] ])
sage: sudoku(B)
[wait forever...]
}}}
Very nice job adding doctests!!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5752#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---