From c4db7474ffb3454894bc59010e64e3f335fcfa3d Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 16 Mar 2019 22:03:09 +1300 Subject: 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. --- test/004-easy/in.sku | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/004-easy/in.sku (limited to 'test/004-easy/in.sku') diff --git a/test/004-easy/in.sku b/test/004-easy/in.sku new file mode 100644 index 0000000..8fc1bdc --- /dev/null +++ b/test/004-easy/in.sku @@ -0,0 +1,11 @@ +???|?89|?6?| +3??|??5|1?7| +96?|?3?|4?5| + +15?|6??|???| +??8|9?1|6??| +???|??8|?71| + +7?1|?4?|?38| +5?6|8??|??4| +?4?|21?|???| -- cgit v1.1