diff --git a/ld/tests/longline.data b/ld/tests/longline.data new file mode 100644 index 00000000..5f71d37a --- /dev/null +++ b/ld/tests/longline.data @@ -0,0 +1,2 @@ +longline + A=parameter B=parameter C=parameter D=parameter E==parameter +longline END F=parameter G=parameter \ No newline at end of file diff --git a/ld/tests/longline.result b/ld/tests/longline.result new file mode 100644 index 00000000..1e8f54b5 --- /dev/null +++ b/ld/tests/longline.result @@ -0,0 +1 @@ +-DA=parameter -DB=parameter -DC=parameter -DD=parameter -DE==parameter -DF=parameter -DG=parameter \ No newline at end of file diff --git a/ld/tests/single.data b/ld/tests/single.data index f8d505e0..027025ae 100644 --- a/ld/tests/single.data +++ b/ld/tests/single.data @@ -1 +1 @@ -single END A B C D +single END A B C D \ No newline at end of file diff --git a/ld/tests/single.result b/ld/tests/single.result index d9d51797..2ba3e0ca 100644 --- a/ld/tests/single.result +++ b/ld/tests/single.result @@ -1 +1 @@ - -DA -DB -DC -DD +-DA -DB -DC -DD \ No newline at end of file diff --git a/ld/tests/tree1.data b/ld/tests/tree1.data new file mode 100644 index 00000000..7867a613 --- /dev/null +++ b/ld/tests/tree1.data @@ -0,0 +1,2 @@ +tree1 treeparent A B C D +treeparent END E F diff --git a/ld/tests/tree1.result b/ld/tests/tree1.result new file mode 100644 index 00000000..34e125f8 --- /dev/null +++ b/ld/tests/tree1.result @@ -0,0 +1 @@ +-DA -DB -DC -DD -DE -DF \ No newline at end of file diff --git a/ld/tests/tree5.data b/ld/tests/tree5.data new file mode 100644 index 00000000..d51a33a0 --- /dev/null +++ b/ld/tests/tree5.data @@ -0,0 +1,5 @@ +tree5 tree4 A +tree4 tree3 B +tree3 tree2 C +tree2 tree1 D +tree1 END E F diff --git a/ld/tests/tree5.result b/ld/tests/tree5.result new file mode 100644 index 00000000..34e125f8 --- /dev/null +++ b/ld/tests/tree5.result @@ -0,0 +1 @@ +-DA -DB -DC -DD -DE -DF \ No newline at end of file diff --git a/ld/tests/twomatch.data b/ld/tests/twomatch.data new file mode 100644 index 00000000..e55df615 --- /dev/null +++ b/ld/tests/twomatch.data @@ -0,0 +1,4 @@ +twomatch treeparent A B C D +# the next line will be ignored because previous matches before and no + there +twomatch treeparent P Q R S +treeparent END E F diff --git a/ld/tests/twomatch.result b/ld/tests/twomatch.result new file mode 100644 index 00000000..34e125f8 --- /dev/null +++ b/ld/tests/twomatch.result @@ -0,0 +1 @@ +-DA -DB -DC -DD -DE -DF \ No newline at end of file