summaryrefslogtreecommitdiffstats
path: root/test/06-range-reference-basic-01.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/06-range-reference-basic-01.txt')
-rw-r--r--test/06-range-reference-basic-01.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/06-range-reference-basic-01.txt b/test/06-range-reference-basic-01.txt
new file mode 100644
index 0000000..d08ebc7
--- /dev/null
+++ b/test/06-range-reference-basic-01.txt
@@ -0,0 +1,28 @@
+%% Very simple case of range reference tracking.
+%mode init
+B1=1
+B3=5
+D1=SUM(B1:B4)
+%calc
+%mode result
+D1=6
+%check
+%mode edit
+B2=4
+%recalc
+%mode result
+D1=10
+%check
+%mode edit
+B1=10
+%recalc
+%mode result
+D1=19
+%check
+%mode edit
+B4=1
+%recalc
+%mode result
+D1=20
+%check
+%exit