summaryrefslogtreecommitdiffstats
path: root/test/01-concat-operator.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/01-concat-operator.txt
parentInitial commit. (diff)
downloadlibixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz
libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/01-concat-operator.txt')
-rw-r--r--test/01-concat-operator.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/01-concat-operator.txt b/test/01-concat-operator.txt
new file mode 100644
index 0000000..0d58884
--- /dev/null
+++ b/test/01-concat-operator.txt
@@ -0,0 +1,31 @@
+%% Test case for concat (&) operator.
+%mode init
+A1@left
+A2@-right
+A3=A1&A2
+B1@left
+B2@&
+B3@right
+B4@&
+B5@forward
+B6=B1&B2&B3&B4&B5
+C1="("&A3&" : "&B6&")"
+C2=1&2
+%calc
+%mode result
+A3="left-right"
+B6="left&right&forward"
+C1="(left-right : left&right&forward)"
+C2="12"
+%check
+%mode edit
+A2@_or_right
+B2@_and_
+B4@_and_
+%recalc
+%mode result
+A3="left_or_right"
+B6="left_and_right_and_forward"
+C1="(left_or_right : left_and_right_and_forward)"
+%check
+%exit