""" Some example Sudokus to test the solving algorithm """ ex9x9 =['------2--', '-58--6---', '---3---85', '-1-47-6--', '9-6---5-7', '--7-39-4-', '76---8---', '---9--81-', '--9------'] # This one has one number removed from the previous one - has 32 solutions ex9x9b=['------2--', '-58--6---', '---3---85', '-1-47-6--', '9-----5-7', '--7-39-4-', '76---8---', '---9--81-', '--9------'] # for the diagonal algorithm ex9x9d = ['-4-----8-', '---5-----', '-----1--3', '------1--', '----2---7', '-----3---', '--8------', '-7-1--4--', '-----0---'] # This one is impossible imposs = ['1---9---5', '-2--8--4-', '--3-7-6--', '---4-----', '987-5-321', '-----6---', '--6-3-7--', '-5--2--8-', '4---1---9'] # A 16x16 example with 4x4 sub-cells (mode = '16b') ex16b=[ '--I---P------GKH', '-N--G---MCO-B---', 'JLB------I----F-', '--E-N--D-------A', '-----FM-H-GJ-O--', '-M-HKAJ-P---L--F', 'N--A-L--F--DE---', '-C-O------K--BD-', '-FP--------EK---', '----HELO--PG----', '--J------AB-NM--', '-OK-BG--J---D-I-', '---D-C-I--F---O-', 'M--G-----BH-P---', '-----OBEA----JLC', '-H---P--CKLN----'] ex6x6 = [ '1-----', '6----5', '-4-63-', '--6---', '-35---', '-----4'] # 6x6 Duagonal ex6x6d = [ '-4---3', '------', '--1---', '--46--', '------', '--2---'] ex4x4 = [ '--4-', '2--3', '-1--', '----'] ex8x8 = [ '-----4-5', '---7----', '---1--8-', '-4----6-', '-5--46--', '-82-----', '----2-7-', '3--6----'] ex10x10 = [ '---H-GCJ--', '-A--F-B---', '-E----H---', '-G---F-D--', '-B-CI---E-', '--------HD', '----A--BF-', 'E-JD---H--', '--GA----IH', 'D----A--C-']