summaryrefslogtreecommitdiff
path: root/test/001-easy
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-16 20:33:08 +1300
committerDavid Phillips <david@sighup.nz>2019-03-16 20:33:08 +1300
commit16a2da0f217aa4f2da4b084014e4da731740e0df (patch)
treef86f9bfe2c02c4d0c61c0fc523f22d65703f0eb5 /test/001-easy
parent605e548e42c2ec4882a65b88a09c329a4819cb0a (diff)
downloadsudoku-16a2da0f217aa4f2da4b084014e4da731740e0df.tar.xz
Add simple solver testing framework
Diffstat (limited to 'test/001-easy')
-rw-r--r--test/001-easy/expected.sku9
-rw-r--r--test/001-easy/in.sku10
2 files changed, 19 insertions, 0 deletions
diff --git a/test/001-easy/expected.sku b/test/001-easy/expected.sku
new file mode 100644
index 0000000..a193127
--- /dev/null
+++ b/test/001-easy/expected.sku
@@ -0,0 +1,9 @@
+8 6 1 |5 2 7 |3 4 9
+2 7 5 |4 9 3 |6 8 1
+9 4 3 |6 1 8 |5 7 2
+4 1 7 |2 3 6 |9 5 8
+3 5 9 |1 8 4 |2 6 7
+6 2 8 |9 7 5 |4 1 3
+7 8 6 |3 4 9 |1 2 5
+1 3 4 |7 5 2 |8 9 6
+5 9 2 |8 6 1 |7 3 4
diff --git a/test/001-easy/in.sku b/test/001-easy/in.sku
new file mode 100644
index 0000000..2145237
--- /dev/null
+++ b/test/001-easy/in.sku
@@ -0,0 +1,10 @@
+? 6 1 |5 ? ? |? ? 9
+? 7 5 |4 9 3 |6 ? ?
+9 ? ? |6 ? ? |? 7 ?
+4 ? ? |2 ? 6 |? ? ?
+3 ? 9 |? ? ? |2 ? 7
+? ? ? |9 ? 5 |? ? 3
+? 8 ? |? ? 9 |? ? 5
+? ? 4 |7 5 2 |8 9 ?
+5 ? ? |? ? 1 |7 3 ?
+