summaryrefslogtreecommitdiffstats
path: root/test/01-inline-array-mul.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-mul.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-mul.txt')
-rw-r--r--test/01-inline-array-mul.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/01-inline-array-mul.txt b/test/01-inline-array-mul.txt
new file mode 100644
index 0000000..2b7b1e2
--- /dev/null
+++ b/test/01-inline-array-mul.txt
@@ -0,0 +1,35 @@
+%% Test for inline array with multiplication.
+%mode init
+{A1:B2}{={1,2;3,4}*10}
+{A3:B4}{=10*{2,3;4,5}}
+{A5:B6}{=A1:B2*2}
+{A7:B8}{=3*A1:B2}
+{A9:B10}{={2,3;4,5}*{9,8;7,6}}
+{A11:D11}{={1,2,3,"C"}*{4,"A","B",2}}
+%calc
+%mode result
+A1=10
+B1=20
+A2=30
+B2=40
+A3=20
+B3=30
+A4=40
+B4=50
+A5=20
+B5=40
+A6=60
+B6=80
+A7=30
+B7=60
+A8=90
+B8=120
+A9=18
+B9=24
+A10=28
+B10=30
+A11=4
+B11=#VALUE!
+C11=#VALUE!
+D11=#VALUE!
+%check