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-simple-arithmetic.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 'test/01-simple-arithmetic.txt')
-rw-r--r-- | test/01-simple-arithmetic.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/test/01-simple-arithmetic.txt b/test/01-simple-arithmetic.txt new file mode 100644 index 0000000..ddedb39 --- /dev/null +++ b/test/01-simple-arithmetic.txt @@ -0,0 +1,53 @@ +%% Test calculation involving dependency resolution. +%mode init +A1=1 +A2=A1+10 +A3=A2+A1*30 +A4=(10+20)*A2 +A5=A1-A2+A3*A4 +A6=A1+A3 +A7=A7 +A8=10/0 +A9=A8 +%calc +%mode result +A1=1 +A2=11 +A3=41 +A4=330 +A5=13520 +A6=42 +A7=#REF! +A8=#DIV/0! +A9=#DIV/0! +%check +%mode edit +A6=A1+A2 +%recalc +%mode result +A1=1 +A2=11 +A3=41 +A4=330 +A5=13520 +A6=12 +A7=#REF! +A8=#DIV/0! +A9=#DIV/0! +%check +%mode edit +A1=10 +%recalc +%mode result +A1=10 +A2=20 +A3=320 +A4=600 +A5=191990 +A6=30 +A7=#REF! +A8=#DIV/0! +A9=#DIV/0! +%check +%exit + |