summaryrefslogtreecommitdiffstats
path: root/test/01-inline-array-exp.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-exp.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 '')
-rw-r--r--test/01-inline-array-exp.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/01-inline-array-exp.txt b/test/01-inline-array-exp.txt
new file mode 100644
index 0000000..b6509da
--- /dev/null
+++ b/test/01-inline-array-exp.txt
@@ -0,0 +1,35 @@
+%% Test for inline array with multiplication.
+%mode init
+{A1:B2}{={1,2;3,4}^2}
+{A3:B4}{=2^{1,2;3,4}}
+{A5:B6}{=A1:B2^2}
+{A7:B8}{=2^A1:B2}
+{A9:B10}{={1,2;3,4}^{5,2;4,3}}
+{A11:D11}{={2,3,4,"C"}^{4,"A","B",2}}
+%calc
+%mode result
+A1=1
+B1=4
+A2=9
+B2=16
+A3=2
+B3=4
+A4=8
+B4=16
+A5=1
+B5=16
+A6=81
+B6=256
+A7=2
+B7=16
+A8=512
+B8=65536
+A9=1
+B9=4
+A10=81
+B10=64
+A11=16
+B11=#VALUE!
+C11=#VALUE!
+D11=#VALUE!
+%check