summaryrefslogtreecommitdiff
path: root/test/XPath/expr/functions
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2012-09-18 01:15:22 +0800
committerAron Xu <aron@debian.org>2012-09-18 01:15:22 +0800
commitf660f9d2924c7549bc87e7f9b4ece7c9727b3682 (patch)
tree816b3ef0e89d1601803b5dc1b90b50ade0567043 /test/XPath/expr/functions
parentd7372d053bbd1d58216fbb04d1771ffa4cc3e624 (diff)
downloadlibxml2-upstream/2.9.0.tar.gz
Imported Upstream version 2.9.0upstream/2.9.0
Diffstat (limited to 'test/XPath/expr/functions')
-rw-r--r--test/XPath/expr/functions25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/XPath/expr/functions b/test/XPath/expr/functions
new file mode 100644
index 0000000..d168b18
--- /dev/null
+++ b/test/XPath/expr/functions
@@ -0,0 +1,25 @@
+true()
+false()
+number("1.5")
+number('abc')
+-number('abc')
+floor(0.1)
+floor(-0.1)
+floor(-0)
+floor(0)
+floor(5.2)
+floor(-5.2)
+ceiling(0.1)
+ceiling(-0.1)
+ceiling(-0)
+ceiling(0)
+ceiling(5.2)
+ceiling(-5.2)
+round(0.1)
+round(5.2)
+round(5.5)
+round(5.6)
+round(-0.1)
+round(-5.2)
+round(-5.5)
+round(-5.6)