summaryrefslogtreecommitdiff
path: root/calc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'calc_test.go')
-rw-r--r--calc_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/calc_test.go b/calc_test.go
index 213f77a..283b9c2 100644
--- a/calc_test.go
+++ b/calc_test.go
@@ -385,6 +385,9 @@ func TestCalcCellValue(t *testing.T) {
"=TRUNC(-99.999,2)": "-99.99",
"=TRUNC(-99.999,-1)": "-90",
// Statistical functions
+ // COUNTA
+ `=COUNTA()`: "0",
+ `=COUNTA(A1:A5,B2:B5,"text",1,2)`: "8",
// MEDIAN
"=MEDIAN(A1:A5,12)": "2",
"=MEDIAN(A1:A5)": "1.5",