summaryrefslogtreecommitdiffstats
path: root/test/04-function-average.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-average.txt')
-rw-r--r--test/04-function-average.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/04-function-average.txt b/test/04-function-average.txt
new file mode 100644
index 0000000..b56469d
--- /dev/null
+++ b/test/04-function-average.txt
@@ -0,0 +1,13 @@
+%% Test for AVERAGE function.
+%mode init
+A1=2
+A2=4
+A3=9
+A4=AVERAGE(A1:A3)
+A5=AVERAGE(A1,A2,A3)
+%calc
+%mode result
+A4=5
+A5=5
+%check
+%exit