diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
commit | 00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch) | |
tree | a6a58bd544eb0b76b9d3acc678ea88791acca045 /test/01-inline-array-op-lhs.txt | |
parent | Initial commit. (diff) | |
download | libixion-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-op-lhs.txt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/test/01-inline-array-op-lhs.txt b/test/01-inline-array-op-lhs.txt new file mode 100644 index 0000000..b3dfa22 --- /dev/null +++ b/test/01-inline-array-op-lhs.txt @@ -0,0 +1,54 @@ +%% Test for inline arrays +%mode init +{A1:B2}{={1,2;4,5}+2} +{A3:B4}{={1,2;4,5}-2} +{A5:B6}{={1,2;4,5}=2} +{A7:B8}{={1,2;4,5}<>2} +{A9:B10}{={1,2;4,5}<2} +{A11:B12}{={1,2;4,5}<=2} +{A13:B14}{={1,2;4,5}>2} +{A15:B16}{={1,2;4,5}>=2} +%calc +%mode result +%% +2 +A1=3 +B1=4 +A2=6 +B2=7 +%% -2 +A3=-1 +B3=0 +A4=2 +B4=3 +%% =2 +A5=0 +B5=1 +A6=0 +B6=0 +%% <>2 +A7=1 +B7=0 +A8=1 +B8=1 +%% <2 +A9=1 +B9=0 +A10=0 +B10=0 +%% <=2 +A11=1 +B11=1 +A12=0 +B12=0 +%% >2 +A13=0 +B13=0 +A14=1 +B14=1 +%% >=2 +A15=0 +B15=1 +A16=1 +B16=1 +%check + |