diff options
author | mongo <andmarti@gmail.com> | 2018-10-22 13:14:26 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2018-10-22 13:14:26 -0300 |
commit | 61f9474c9d2d8f0b0c837e7b57b7241b61965270 (patch) | |
tree | 05c71b3f73d21ecc8456d55bfc2354adf24f7a92 /tests | |
parent | b16acc5fdb188a17cf74f798ec96abf2a59cece9 (diff) |
work on issue 295
Diffstat (limited to 'tests')
-rw-r--r-- | tests/calc1.sc | 13 | ||||
-rw-r--r-- | tests/calc2.sc | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/calc1.sc b/tests/calc1.sc new file mode 100644 index 0000000..eed5a9f --- /dev/null +++ b/tests/calc1.sc @@ -0,0 +1,13 @@ +#let A0 = 10 +#let C1 = F5+A0 +#let F1 = 10 +#let F3 = 20 +#let F5 = F1+F3 +#goto A0 + +let A0 = 10 +let C1 = F5+A0 +let F1 = 10 +let F3 = 20 +let F5 = F1+F3 +#goto A0 diff --git a/tests/calc2.sc b/tests/calc2.sc new file mode 100644 index 0000000..382f3c6 --- /dev/null +++ b/tests/calc2.sc @@ -0,0 +1,4 @@ +let A1 = 1 +let A2 = 2 +let A0 = @sum(A1:A2) +goto A0 |