summaryrefslogtreecommitdiffstats
path: root/test/11-reference-to-numeric-cell-01.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/11-reference-to-numeric-cell-01.txt')
-rw-r--r--test/11-reference-to-numeric-cell-01.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/11-reference-to-numeric-cell-01.txt b/test/11-reference-to-numeric-cell-01.txt
new file mode 100644
index 0000000..bf333f4
--- /dev/null
+++ b/test/11-reference-to-numeric-cell-01.txt
@@ -0,0 +1,23 @@
+%% Modify non-formula cell which should trigger formula cells referencing it
+%% to get re-calculated.
+%mode init
+A1:1
+A2=A1*A1
+A3=A1*3
+B1=A1*3+10
+%calc
+%mode result
+A2=1
+A3=3
+B1=13
+%check
+%mode edit
+A1:2
+%recalc
+%mode result
+A2=4
+A3=6
+B1=16
+%check
+%exit
+