summaryrefslogtreecommitdiffstats
path: root/test/08-numeric-cells.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/08-numeric-cells.txt')
-rw-r--r--test/08-numeric-cells.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/08-numeric-cells.txt b/test/08-numeric-cells.txt
new file mode 100644
index 0000000..d324d04
--- /dev/null
+++ b/test/08-numeric-cells.txt
@@ -0,0 +1,17 @@
+%% Test for parsing numeric cells. A numeric cell begins with a cell name
+%% followed by a ':' immediately followed by a number.
+%mode init
+A1:0
+A2:1
+A3:12.5
+A4:-1.2
+A5=SUM(A1:A4)
+%calc
+%mode result
+A1=0
+A2=1
+A3=12.5
+A4=-1.2
+A5=12.3
+%check
+%exit