From 00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:47:37 +0200 Subject: Adding upstream version 0.19.0. Signed-off-by: Daniel Baumann --- test/01-inline-array.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 test/01-inline-array.txt (limited to 'test/01-inline-array.txt') 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 -- cgit v1.2.3