summaryrefslogtreecommitdiff
path: root/test/004-easy/expected.sku
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-16 22:03:09 +1300
committerDavid Phillips <david@sighup.nz>2019-03-16 22:03:09 +1300
commitc4db7474ffb3454894bc59010e64e3f335fcfa3d (patch)
tree9972b7c0e934307a8eb4c0135f808e3e990bcc9a /test/004-easy/expected.sku
parent53e40ead2dc29deaff619803d1aa57812b2920fc (diff)
downloadsudoku-c4db7474ffb3454894bc59010e64e3f335fcfa3d.tar.xz
Don't be strict about solutions
If expected.sku exists, check that the solution matches it, otherwise, just rely on the solution having been some unknown solution, so long as it did not modify the pre-set tiles for the problem, and is a valid and complete sudoku board. This opens up the possibility for testing multi-solution puzzles.
Diffstat (limited to 'test/004-easy/expected.sku')
-rw-r--r--test/004-easy/expected.sku11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/004-easy/expected.sku b/test/004-easy/expected.sku
new file mode 100644
index 0000000..cb0dea7
--- /dev/null
+++ b/test/004-easy/expected.sku
@@ -0,0 +1,11 @@
+415|789|362
+382|465|197
+967|132|485
+
+153|674|829
+278|951|643
+694|328|571
+
+721|546|938
+536|897|214
+849|213|756