summaryrefslogtreecommitdiffstats
path: root/test/04-function-counta-static-args.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-counta-static-args.txt')
-rw-r--r--test/04-function-counta-static-args.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/04-function-counta-static-args.txt b/test/04-function-counta-static-args.txt
new file mode 100644
index 0000000..19d8c0c
--- /dev/null
+++ b/test/04-function-counta-static-args.txt
@@ -0,0 +1,12 @@
+%% Test for COUNTA() function with static value arguments.
+%mode init
+A1=COUNTA(1,2,3)
+A2=COUNTA(1,"str",3)
+A3=COUNTA()
+%calc
+%mode result
+A1=3
+A2=3
+A3=0
+%check
+