summaryrefslogtreecommitdiff
path: root/tests/regression/echotest
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-02-18 11:51:51 (GMT)
committerMarius Kintel <marius@kintel.net>2012-02-18 11:51:51 (GMT)
commit4f8c89ecf0986034c8dccbac0130619a3d502c1a (patch)
treef8bb554a3d8f272d17bd7c57eca627ba33ac92bb /tests/regression/echotest
parent4b54876b7a1d54bb7439a9ef8324a74d1a63acb8 (diff)
parent2e7a27f64416b3bb5b8e0a5d2969292cbacde7b6 (diff)
Merge branch 'search_function' of https://github.com/clothbot/openscad into clothbot-search_function
Diffstat (limited to 'tests/regression/echotest')
-rw-r--r--tests/regression/echotest/search-tests-expected.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/regression/echotest/search-tests-expected.txt b/tests/regression/echotest/search-tests-expected.txt
new file mode 100644
index 0000000..64df0b6
--- /dev/null
+++ b/tests/regression/echotest/search-tests-expected.txt
@@ -0,0 +1,20 @@
+ search term not found: "q"
+ search term not found: 1000
+ search term not found: "zzz"
+ search term not found: "zzz"
+ search term not found: 500
+ search term not found: ""
+ECHO: "Characters in string (\"a\"): [0]"
+ECHO: "Characters in string (\"adeq\"): [[0, 5], [3, 8], [4], []]"
+ECHO: "Default string search (\"abe\"): [0, 1, 8]"
+ECHO: "Return all matches for string search (\"abe\"): [[0, 4, 9, 10], [1, 5], [8]]"
+ECHO: "Return up to 2 matches for string search (\"abe\"): [[0, 4], [1, 5], [8]]"
+ECHO: "Return up to 2 matches for string search; alternate columns (\"aebe\"): [[0, 4], [8], [1, 5], [8]]"
+ECHO: "Default number search (7): [5]"
+ECHO: "Return all matches for number search (1): [0, 4, 10]"
+ECHO: "Return up to 2 matches for number search (1): [0, 4]"
+ECHO: "Default list number search ([1, 3, 1000]): [0, 1, []]"
+ECHO: "Default list string search ([\"b\", \"zzz\", \"a\", \"c\", \"apple\", \"dog\"]): [1, [], 4, 2, 9, 3]"
+ECHO: "Default list mixed search ([\"b\", 4, \"zzz\", \"c\", \"apple\", 500, \"a\", \"\"]): [1, 3, [], 2, 9, [], 4, []]"
+ECHO: "Return all matches for mixed search ([\"b\", 4, \"zzz\", \"c\", \"apple\", 500, \"a\", \"\"]): [[1, 5], [3], [], [2, 6], [9], [], [4, 10], []]"
+ECHO: "Return all matches for mixed search; alternate columns ([1, \"zz\", \"dog\", 500, 11]): [[0], [], [3], [], [10]]"
contact: Jan Huwald // Impressum