summaryrefslogtreecommitdiff
path: root/tests/ref/fate/eval
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r--tests/ref/fate/eval12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index 8dda06b998..91a8abf171 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -205,12 +205,24 @@ Evaluating 'pow(-1,1.23)'
Evaluating 'if(1, 2)'
'if(1, 2)' -> 2.000000
+Evaluating 'if(1, 1, 2)'
+'if(1, 1, 2)' -> 1.000000
+
+Evaluating 'if(0, 1, 2)'
+'if(0, 1, 2)' -> 2.000000
+
Evaluating 'ifnot(0, 23)'
'ifnot(0, 23)' -> 23.000000
Evaluating 'ifnot(1, NaN) + if(0, 1)'
'ifnot(1, NaN) + if(0, 1)' -> 0.000000
+Evaluating 'ifnot(1, 1, 2)'
+'ifnot(1, 1, 2)' -> 2.000000
+
+Evaluating 'ifnot(0, 1, 2)'
+'ifnot(0, 1, 2)' -> 1.000000
+
Evaluating 'taylor(1, 1)'
'taylor(1, 1)' -> 2.718282