From e792b0198b4559936dbe0c37fcc5a130d85ed952 Mon Sep 17 00:00:00 2001 From: grammarware Date: Wed, 15 Jun 2011 12:49:35 +0000 Subject: [PATCH] finished testing nonterminal-if-defined and terminal-if-undefined features git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1094 ab42f6e0-554d-0410-b580-99e487e6eeb2 --- topics/recovery/hunter/hunter.py | 39 +++++++++- .../hunter/tests/8-nt2t-camel-lower.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-camel-lower.edd | 10 +++ .../hunter/tests/8-nt2t-camel-lower.src | 3 + .../hunter/tests/8-nt2t-camel-none.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-camel-none.edd | 9 +++ .../hunter/tests/8-nt2t-camel-none.src | 3 + .../hunter/tests/8-nt2t-camel-upper.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-camel-upper.edd | 10 +++ .../hunter/tests/8-nt2t-camel-upper.src | 3 + .../hunter/tests/8-nt2t-lower-camel.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-lower-camel.edd | 10 +++ .../hunter/tests/8-nt2t-lower-camel.src | 3 + .../hunter/tests/8-nt2t-lower-none.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-lower-none.edd | 9 +++ .../hunter/tests/8-nt2t-lower-none.src | 3 + .../hunter/tests/8-nt2t-lower-upper.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-lower-upper.edd | 10 +++ .../hunter/tests/8-nt2t-lower-upper.src | 3 + .../hunter/tests/8-nt2t-none-camel.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-none-camel.edd | 9 +++ .../hunter/tests/8-nt2t-none-camel.src | 3 + .../hunter/tests/8-nt2t-none-lower.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-none-lower.edd | 9 +++ .../hunter/tests/8-nt2t-none-lower.src | 3 + .../hunter/tests/8-nt2t-none-upper.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-none-upper.edd | 9 +++ .../hunter/tests/8-nt2t-none-upper.src | 3 + .../hunter/tests/8-nt2t-upper-camel.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-upper-camel.edd | 10 +++ .../hunter/tests/8-nt2t-upper-camel.src | 3 + .../hunter/tests/8-nt2t-upper-lower.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-upper-lower.edd | 10 +++ .../hunter/tests/8-nt2t-upper-lower.src | 3 + .../hunter/tests/8-nt2t-upper-none.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-nt2t-upper-none.edd | 9 +++ .../hunter/tests/8-nt2t-upper-none.src | 3 + topics/recovery/hunter/tests/8-nt2t.bgf | 78 +++++++++++++++++++ topics/recovery/hunter/tests/8-nt2t.edd | 8 ++ topics/recovery/hunter/tests/8-nt2t.src | 3 + .../hunter/tests/8-t2nt-camel-lower.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-camel-lower.edd | 10 +++ .../hunter/tests/8-t2nt-camel-lower.src | 3 + .../hunter/tests/8-t2nt-camel-none.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-camel-none.edd | 9 +++ .../hunter/tests/8-t2nt-camel-none.src | 3 + .../hunter/tests/8-t2nt-camel-upper.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-camel-upper.edd | 10 +++ .../hunter/tests/8-t2nt-camel-upper.src | 3 + .../hunter/tests/8-t2nt-lower-camel.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-lower-camel.edd | 10 +++ .../hunter/tests/8-t2nt-lower-camel.src | 3 + .../hunter/tests/8-t2nt-lower-none.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-lower-none.edd | 9 +++ .../hunter/tests/8-t2nt-lower-none.src | 3 + .../hunter/tests/8-t2nt-lower-upper.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-lower-upper.edd | 10 +++ .../hunter/tests/8-t2nt-lower-upper.src | 3 + .../hunter/tests/8-t2nt-none-camel.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-none-camel.edd | 9 +++ .../hunter/tests/8-t2nt-none-camel.src | 3 + .../hunter/tests/8-t2nt-none-lower.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-none-lower.edd | 9 +++ .../hunter/tests/8-t2nt-none-lower.src | 3 + .../hunter/tests/8-t2nt-none-upper.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-none-upper.edd | 9 +++ .../hunter/tests/8-t2nt-none-upper.src | 3 + .../hunter/tests/8-t2nt-upper-camel.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-upper-camel.edd | 10 +++ .../hunter/tests/8-t2nt-upper-camel.src | 3 + .../hunter/tests/8-t2nt-upper-lower.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-upper-lower.edd | 10 +++ .../hunter/tests/8-t2nt-upper-lower.src | 3 + .../hunter/tests/8-t2nt-upper-none.bgf | 78 +++++++++++++++++++ .../hunter/tests/8-t2nt-upper-none.edd | 9 +++ .../hunter/tests/8-t2nt-upper-none.src | 3 + topics/recovery/hunter/tests/8-t2nt.bgf | 78 +++++++++++++++++++ topics/recovery/hunter/tests/8-t2nt.edd | 8 ++ topics/recovery/hunter/tests/8-t2nt.src | 3 + topics/recovery/hunter/tests/testsave | 1 + topics/recovery/hunter/tests/testvisual | 8 ++ 81 files changed, 2395 insertions(+), 3 deletions(-) create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-lower.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-lower.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-lower.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-none.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-none.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-none.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-upper.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-upper.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-camel-upper.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-camel.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-camel.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-camel.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-none.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-none.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-none.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-upper.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-upper.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-lower-upper.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-camel.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-camel.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-camel.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-lower.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-lower.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-lower.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-upper.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-upper.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-none-upper.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-camel.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-camel.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-camel.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-lower.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-lower.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-lower.src create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-none.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-none.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t-upper-none.src create mode 100644 topics/recovery/hunter/tests/8-nt2t.bgf create mode 100644 topics/recovery/hunter/tests/8-nt2t.edd create mode 100644 topics/recovery/hunter/tests/8-nt2t.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-lower.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-lower.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-lower.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-none.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-none.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-none.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-upper.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-upper.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-camel-upper.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-camel.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-camel.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-camel.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-none.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-none.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-none.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-upper.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-upper.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-lower-upper.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-camel.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-camel.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-camel.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-lower.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-lower.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-lower.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-upper.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-upper.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-none-upper.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-camel.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-camel.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-camel.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-lower.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-lower.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-lower.src create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-none.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-none.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt-upper-none.src create mode 100644 topics/recovery/hunter/tests/8-t2nt.bgf create mode 100644 topics/recovery/hunter/tests/8-t2nt.edd create mode 100644 topics/recovery/hunter/tests/8-t2nt.src create mode 100755 topics/recovery/hunter/tests/testvisual diff --git a/topics/recovery/hunter/hunter.py b/topics/recovery/hunter/hunter.py index ac9de0d2..01c09fa4 100755 --- a/topics/recovery/hunter/hunter.py +++ b/topics/recovery/hunter/hunter.py @@ -841,6 +841,9 @@ def convert2terminal(x,defd): if x in defd: # defined nonterminal return x + if x[0] == config['start-terminal-symbol'] and x[-1] == config['end-terminal-symbol']: + # already a terminal + return x if x in metasymbols: # pseudo-meta-symbol return x @@ -862,12 +865,36 @@ def convert2terminal(x,defd): if 'nonterminal-if-camelcase' in config.keys() and len(x)>1 and isCamelCase(x): # configuration claims that CamelCase is a nonterminal return x - if x[0] == config['start-terminal-symbol'] and x[-1] == config['end-terminal-symbol']: - # already a terminal - return x # none of the above return config['start-terminal-symbol'] + x + config['end-terminal-symbol'] +def convert2nonterminal(x,defd): + # unfolded for better readability + if len(x) < 4: + # an tiny terminal or even less than that + return x + if x[0] != config['start-terminal-symbol'] or x[-1] != config['end-terminal-symbol']: + # not a terminal at all + return x + y = x[1:-1] + if y in always_terminals: + # configured exception + return x + if 'terminal-if-uppercase' in config.keys() and isUpperCase(y): + # configuration claims that UPPERCASE is a terminal + return x + if 'terminal-if-lowercase' in config.keys() and isLowerCase(y): + # configuration claims that UPPERCASE is a terminal + return x + if 'terminal-if-camelcase' in config.keys() and isCamelCase(y): + # configuration claims that CamelCase is a terminal + return x + if y in defd: + # The moment of truth: could it be a defined nonterminal? + return y + # none of the above + return x + def balanceProd(p): global debug i = 2 @@ -1436,10 +1463,16 @@ def t2nt(tokens,check): for x in ignore_tokens: prods = [list(filter(lambda y:y!=x,p)) for p in prods] #prods = list(map(lambda x:filter(lambda y:y!='\n',x),prods)) + # quite usual trick, harmless for most grammars if 'terminal-if-undefined' in config.keys(): print('STEP 8 (rule 5): turning undefined nonterminals into terminals.') step8 = True prods = [[convert2terminal(x,defined) for x in p] for p in prods] + # should be used very carefully because it is common for grammars to have terminals and nonterminals with the "same" name + if 'nonterminal-if-defined' in config.keys(): + print('STEP 8 (rule 6): turning terminals that look like defined nonterminals into nonterminals.') + step8 = True + prods = [[convert2nonterminal(x,defined) for x in p] for p in prods] if 'glue-nonalphanumeric-terminals' in config.keys(): print('STEP 8 (part of rule 3): glueing non-alphanumeric terminal symbols together.') step8 = True diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-lower.bgf b/topics/recovery/hunter/tests/8-nt2t-camel-lower.bgf new file mode 100644 index 00000000..80715747 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-lower.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-lower.edd b/topics/recovery/hunter/tests/8-nt2t-camel-lower.edd new file mode 100644 index 00000000..1cd66332 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-lower.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-lower.src b/topics/recovery/hunter/tests/8-nt2t-camel-lower.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-lower.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-none.bgf b/topics/recovery/hunter/tests/8-nt2t-camel-none.bgf new file mode 100644 index 00000000..6e50b79c --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-none.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-none.edd b/topics/recovery/hunter/tests/8-nt2t-camel-none.edd new file mode 100644 index 00000000..a8cef2b3 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-none.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-none.src b/topics/recovery/hunter/tests/8-nt2t-camel-none.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-none.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-upper.bgf b/topics/recovery/hunter/tests/8-nt2t-camel-upper.bgf new file mode 100644 index 00000000..fe6c7f04 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-upper.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-upper.edd b/topics/recovery/hunter/tests/8-nt2t-camel-upper.edd new file mode 100644 index 00000000..40d36089 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-upper.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-camel-upper.src b/topics/recovery/hunter/tests/8-nt2t-camel-upper.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-camel-upper.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-camel.bgf b/topics/recovery/hunter/tests/8-nt2t-lower-camel.bgf new file mode 100644 index 00000000..ef617bae --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-camel.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-camel.edd b/topics/recovery/hunter/tests/8-nt2t-lower-camel.edd new file mode 100644 index 00000000..1b6b04ff --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-camel.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-camel.src b/topics/recovery/hunter/tests/8-nt2t-lower-camel.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-camel.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-none.bgf b/topics/recovery/hunter/tests/8-nt2t-lower-none.bgf new file mode 100644 index 00000000..bb06d56e --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-none.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-none.edd b/topics/recovery/hunter/tests/8-nt2t-lower-none.edd new file mode 100644 index 00000000..14c4aa65 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-none.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-none.src b/topics/recovery/hunter/tests/8-nt2t-lower-none.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-none.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-upper.bgf b/topics/recovery/hunter/tests/8-nt2t-lower-upper.bgf new file mode 100644 index 00000000..17ba3d55 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-upper.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-upper.edd b/topics/recovery/hunter/tests/8-nt2t-lower-upper.edd new file mode 100644 index 00000000..05054ee3 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-upper.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-lower-upper.src b/topics/recovery/hunter/tests/8-nt2t-lower-upper.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-lower-upper.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-none-camel.bgf b/topics/recovery/hunter/tests/8-nt2t-none-camel.bgf new file mode 100644 index 00000000..565e86a2 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-camel.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-none-camel.edd b/topics/recovery/hunter/tests/8-nt2t-none-camel.edd new file mode 100644 index 00000000..fdc535e0 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-camel.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-none-camel.src b/topics/recovery/hunter/tests/8-nt2t-none-camel.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-camel.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-none-lower.bgf b/topics/recovery/hunter/tests/8-nt2t-none-lower.bgf new file mode 100644 index 00000000..0c8a5a35 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-lower.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-none-lower.edd b/topics/recovery/hunter/tests/8-nt2t-none-lower.edd new file mode 100644 index 00000000..34c06fcf --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-lower.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-none-lower.src b/topics/recovery/hunter/tests/8-nt2t-none-lower.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-lower.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-none-upper.bgf b/topics/recovery/hunter/tests/8-nt2t-none-upper.bgf new file mode 100644 index 00000000..4281624a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-upper.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-none-upper.edd b/topics/recovery/hunter/tests/8-nt2t-none-upper.edd new file mode 100644 index 00000000..81f3ca76 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-upper.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-none-upper.src b/topics/recovery/hunter/tests/8-nt2t-none-upper.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-none-upper.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-camel.bgf b/topics/recovery/hunter/tests/8-nt2t-upper-camel.bgf new file mode 100644 index 00000000..9ea7b944 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-camel.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-camel.edd b/topics/recovery/hunter/tests/8-nt2t-upper-camel.edd new file mode 100644 index 00000000..9e25fa6d --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-camel.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-camel.src b/topics/recovery/hunter/tests/8-nt2t-upper-camel.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-camel.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-lower.bgf b/topics/recovery/hunter/tests/8-nt2t-upper-lower.bgf new file mode 100644 index 00000000..0612dd42 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-lower.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-lower.edd b/topics/recovery/hunter/tests/8-nt2t-upper-lower.edd new file mode 100644 index 00000000..284d859f --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-lower.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-lower.src b/topics/recovery/hunter/tests/8-nt2t-upper-lower.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-lower.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-none.bgf b/topics/recovery/hunter/tests/8-nt2t-upper-none.bgf new file mode 100644 index 00000000..927ecc8a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-none.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-none.edd b/topics/recovery/hunter/tests/8-nt2t-upper-none.edd new file mode 100644 index 00000000..396df6aa --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-none.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t-upper-none.src b/topics/recovery/hunter/tests/8-nt2t-upper-none.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t-upper-none.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-nt2t.bgf b/topics/recovery/hunter/tests/8-nt2t.bgf new file mode 100644 index 00000000..c3b2ff97 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t.edd b/topics/recovery/hunter/tests/8-nt2t.edd new file mode 100644 index 00000000..4f2cc7f9 --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t.edd @@ -0,0 +1,8 @@ + + + : + \n + + + + diff --git a/topics/recovery/hunter/tests/8-nt2t.src b/topics/recovery/hunter/tests/8-nt2t.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-nt2t.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-lower.bgf b/topics/recovery/hunter/tests/8-t2nt-camel-lower.bgf new file mode 100644 index 00000000..112ccfe2 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-lower.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-lower.edd b/topics/recovery/hunter/tests/8-t2nt-camel-lower.edd new file mode 100644 index 00000000..4d698bf3 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-lower.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-lower.src b/topics/recovery/hunter/tests/8-t2nt-camel-lower.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-lower.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-none.bgf b/topics/recovery/hunter/tests/8-t2nt-camel-none.bgf new file mode 100644 index 00000000..420b27b7 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-none.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-none.edd b/topics/recovery/hunter/tests/8-t2nt-camel-none.edd new file mode 100644 index 00000000..22ef180d --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-none.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-none.src b/topics/recovery/hunter/tests/8-t2nt-camel-none.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-none.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-upper.bgf b/topics/recovery/hunter/tests/8-t2nt-camel-upper.bgf new file mode 100644 index 00000000..6dfa917e --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-upper.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-upper.edd b/topics/recovery/hunter/tests/8-t2nt-camel-upper.edd new file mode 100644 index 00000000..d7f4d346 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-upper.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-camel-upper.src b/topics/recovery/hunter/tests/8-t2nt-camel-upper.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-camel-upper.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-camel.bgf b/topics/recovery/hunter/tests/8-t2nt-lower-camel.bgf new file mode 100644 index 00000000..5ad9eb8e --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-camel.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-camel.edd b/topics/recovery/hunter/tests/8-t2nt-lower-camel.edd new file mode 100644 index 00000000..f40223a6 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-camel.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-camel.src b/topics/recovery/hunter/tests/8-t2nt-lower-camel.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-camel.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-none.bgf b/topics/recovery/hunter/tests/8-t2nt-lower-none.bgf new file mode 100644 index 00000000..befdbd8d --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-none.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-none.edd b/topics/recovery/hunter/tests/8-t2nt-lower-none.edd new file mode 100644 index 00000000..d9140c10 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-none.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-none.src b/topics/recovery/hunter/tests/8-t2nt-lower-none.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-none.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-upper.bgf b/topics/recovery/hunter/tests/8-t2nt-lower-upper.bgf new file mode 100644 index 00000000..91f4a255 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-upper.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-upper.edd b/topics/recovery/hunter/tests/8-t2nt-lower-upper.edd new file mode 100644 index 00000000..0cd4a2b9 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-upper.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-lower-upper.src b/topics/recovery/hunter/tests/8-t2nt-lower-upper.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-lower-upper.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-none-camel.bgf b/topics/recovery/hunter/tests/8-t2nt-none-camel.bgf new file mode 100644 index 00000000..e3dff17d --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-camel.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-none-camel.edd b/topics/recovery/hunter/tests/8-t2nt-none-camel.edd new file mode 100644 index 00000000..59bc0241 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-camel.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-none-camel.src b/topics/recovery/hunter/tests/8-t2nt-none-camel.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-camel.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-none-lower.bgf b/topics/recovery/hunter/tests/8-t2nt-none-lower.bgf new file mode 100644 index 00000000..8c9fcabb --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-lower.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-none-lower.edd b/topics/recovery/hunter/tests/8-t2nt-none-lower.edd new file mode 100644 index 00000000..0d5d65f5 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-lower.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-none-lower.src b/topics/recovery/hunter/tests/8-t2nt-none-lower.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-lower.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-none-upper.bgf b/topics/recovery/hunter/tests/8-t2nt-none-upper.bgf new file mode 100644 index 00000000..76fb4f76 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-upper.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-none-upper.edd b/topics/recovery/hunter/tests/8-t2nt-none-upper.edd new file mode 100644 index 00000000..f04d6923 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-upper.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-none-upper.src b/topics/recovery/hunter/tests/8-t2nt-none-upper.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-none-upper.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-camel.bgf b/topics/recovery/hunter/tests/8-t2nt-upper-camel.bgf new file mode 100644 index 00000000..933ca990 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-camel.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-camel.edd b/topics/recovery/hunter/tests/8-t2nt-upper-camel.edd new file mode 100644 index 00000000..e4814a62 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-camel.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-camel.src b/topics/recovery/hunter/tests/8-t2nt-upper-camel.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-camel.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-lower.bgf b/topics/recovery/hunter/tests/8-t2nt-upper-lower.bgf new file mode 100644 index 00000000..a508e69b --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-lower.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-lower.edd b/topics/recovery/hunter/tests/8-t2nt-upper-lower.edd new file mode 100644 index 00000000..af73655c --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-lower.edd @@ -0,0 +1,10 @@ + + + : + \n + + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-lower.src b/topics/recovery/hunter/tests/8-t2nt-upper-lower.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-lower.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-none.bgf b/topics/recovery/hunter/tests/8-t2nt-upper-none.bgf new file mode 100644 index 00000000..4eb6508b --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-none.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-none.edd b/topics/recovery/hunter/tests/8-t2nt-upper-none.edd new file mode 100644 index 00000000..d6fe3eba --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-none.edd @@ -0,0 +1,9 @@ + + + : + \n + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt-upper-none.src b/topics/recovery/hunter/tests/8-t2nt-upper-none.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt-upper-none.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/8-t2nt.bgf b/topics/recovery/hunter/tests/8-t2nt.bgf new file mode 100644 index 00000000..686a9d14 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt.bgf @@ -0,0 +1,78 @@ + + + + foo + + + + BAR + + + WEZ + + + FOO + + + BAR + + + WEZ + + + FOO + + + + + + Bar + + + + wez + + + foo + + + bar + + + wez + + + foo + + + bar + + + + + + WEZ + + + + Foo + + + Bar + + + Wez + + + Foo + + + Bar + + + Wez + + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt.edd b/topics/recovery/hunter/tests/8-t2nt.edd new file mode 100644 index 00000000..15fec2e3 --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt.edd @@ -0,0 +1,8 @@ + + + : + \n + + + + diff --git a/topics/recovery/hunter/tests/8-t2nt.src b/topics/recovery/hunter/tests/8-t2nt.src new file mode 100644 index 00000000..6970772a --- /dev/null +++ b/topics/recovery/hunter/tests/8-t2nt.src @@ -0,0 +1,3 @@ +foo : BAR WEZ FOO “BAR” “WEZ” “FOO” +Bar : wez foo bar “wez” “foo” “bar” +WEZ : Foo Bar Wez “Foo” “Bar” “Wez” diff --git a/topics/recovery/hunter/tests/testsave b/topics/recovery/hunter/tests/testsave index 2d661894..23d37439 100755 --- a/topics/recovery/hunter/tests/testsave +++ b/topics/recovery/hunter/tests/testsave @@ -1,5 +1,6 @@ #!/bin/sh +./testperform $1 echo '' > $1.bgf cat $1.out >> $1.bgf perl -pi -w -e 's/ns0/bgf/g;' $1.bgf diff --git a/topics/recovery/hunter/tests/testvisual b/topics/recovery/hunter/tests/testvisual new file mode 100755 index 00000000..395d5ac8 --- /dev/null +++ b/topics/recovery/hunter/tests/testvisual @@ -0,0 +1,8 @@ +#!/bin/sh + +./testperform $1 +echo '------------------ Input: ------------------' +cat $1.src +echo '------------------ Output: ------------------' +../../../../shared/tools/bgf2bnf $1.out +