summaryrefslogtreecommitdiffstats
path: root/test/22-grouped-formulas-with-cached-results.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/22-grouped-formulas-with-cached-results.txt')
-rw-r--r--test/22-grouped-formulas-with-cached-results.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/22-grouped-formulas-with-cached-results.txt b/test/22-grouped-formulas-with-cached-results.txt
new file mode 100644
index 0000000..cbaf33b
--- /dev/null
+++ b/test/22-grouped-formulas-with-cached-results.txt
@@ -0,0 +1,38 @@
+%mode init
+A1=RAND()
+A2=RAND()
+B1=RAND()
+B2=RAND()
+D1=RAND()
+D2=RAND()
+E1=RAND()
+E2=RAND()
+{G1:H2}{=MMULT(A1:B2,D1:E2)}
+%mode result-cache
+A1=1
+A2=2
+B1=3
+B2=4
+D1=5
+D2=6
+E1=7
+E2=8
+G1=23
+G2=34
+H1=31
+H2=46
+%mode result
+A1=1
+A2=2
+B1=3
+B2=4
+D1=5
+D2=6
+E1=7
+E2=8
+G1=23
+G2=34
+H1=31
+H2=46
+%check
+%exit