summaryrefslogtreecommitdiffstats
path: root/test/01-inline-array.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-inline-array.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-inline-array.txt')
-rw-r--r--test/01-inline-array.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/01-inline-array.txt b/test/01-inline-array.txt
new file mode 100644
index 0000000..2da6f74
--- /dev/null
+++ b/test/01-inline-array.txt
@@ -0,0 +1,29 @@
+%% Test for inline arrays
+%mode init
+{A1:C2}{={1,2,3;4,5,6}}
+{A4:B6}{={1,2;3,4;5,6}}
+{C8:D8}{={"A","B"}}
+{B10:D11}{={-1,2,"red";-5.1,-4,"blue"}}
+%calc
+%mode result
+A1=1
+B1=2
+C1=3
+A2=4
+B2=5
+C2=6
+A4=1
+B4=2
+A5=3
+B5=4
+A6=5
+B6=6
+C8="A"
+D8="B"
+B10=-1
+C10=2
+D10="red"
+B11=-5.1
+C11=-4
+D11="blue"
+%check