From 5a37bf84dd851cda76d93e353586f0d786c4c9c6 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Mon, 5 Feb 2024 18:13:07 +0200 Subject: Adding tests that bots certain hints for mines and safes are correct. --- testdata/beginner_3win.txt | 31 +++++++++++++++++++++++++++++++ testdata/dssp_win.txt | 11 +++++++++++ testdata/not_solved.txt | 11 +++++++++++ 3 files changed, 53 insertions(+) create mode 100644 testdata/beginner_3win.txt create mode 100644 testdata/dssp_win.txt create mode 100644 testdata/not_solved.txt (limited to 'testdata') diff --git a/testdata/beginner_3win.txt b/testdata/beginner_3win.txt new file mode 100644 index 0000000..6eeb1a4 --- /dev/null +++ b/testdata/beginner_3win.txt @@ -0,0 +1,31 @@ +# Kolme aloittelijan lautaa joissa varma voitto + +......... +......... +......... +...@@@... +...@@@... +...@@@... +....@.... +......... +......... + +......... +......... +......... +...@@@... +...@@@... +...@@@... +....@.... +......... +......... + +......... +......... +......... +...@@@... +...@@@... +...@@@... +....@.... +......... +......... diff --git a/testdata/dssp_win.txt b/testdata/dssp_win.txt new file mode 100644 index 0000000..4a19dee --- /dev/null +++ b/testdata/dssp_win.txt @@ -0,0 +1,11 @@ +# Lautoja jotka DSSP selvittää + +......... +......... +......... +......... +......... +......... +......... +......... +.@@.@@.@. diff --git a/testdata/not_solved.txt b/testdata/not_solved.txt new file mode 100644 index 0000000..4a031c8 --- /dev/null +++ b/testdata/not_solved.txt @@ -0,0 +1,11 @@ +# Lautoja joissa dssp-ratkaisijalla tulee ongelmia + +.@....... +@..@..... +@.@...... +......... +......... +......... +......... +......... +......... -- cgit v1.2.3