summaryrefslogtreecommitdiffstats
path: root/test/04-function-single.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-single.txt')
-rw-r--r--test/04-function-single.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/04-function-single.txt b/test/04-function-single.txt
new file mode 100644
index 0000000..28bb5cb
--- /dev/null
+++ b/test/04-function-single.txt
@@ -0,0 +1,14 @@
+%% Test built-in functions.
+%mode init
+A1=MAX(10,20,5,36)
+A2=MIN(10,20,5,36)
+A3=AVERAGE(10,20,30,40)
+A4=SUM(1,1,1)+SUM(4,5,6)
+%calc
+%mode result
+A1=36
+A2=5
+A3=25
+A4=18
+%check
+%exit