summaryrefslogtreecommitdiffstats
path: root/libxml2/test/XPath/expr/compare
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/XPath/expr/compare')
-rw-r--r--libxml2/test/XPath/expr/compare46
1 files changed, 46 insertions, 0 deletions
diff --git a/libxml2/test/XPath/expr/compare b/libxml2/test/XPath/expr/compare
new file mode 100644
index 0000000..2d52eaf
--- /dev/null
+++ b/libxml2/test/XPath/expr/compare
@@ -0,0 +1,46 @@
+0<0
+0<=0
+0>0
+0>=0
+0<1
+0<=1
+0>1
+0>=1
+1<0
+1<=0
+1>0
+1>=0
+1<1
+1<=1
+1>1
+1>=1
+'0'<1
+'0'<=1
+'0'>1
+'0'>=1
+0<'1.2'
+0<='1.2'
+0>'1.2'
+0>='1.2'
+0<'-0.2'
+0<='-0.2'
+0>'-0.2'
+0>='-0.2'
+false()<1
+false()<=1
+0>true()
+0>=true()
+'a' > 'a'
+'a' > 'b'
+'b' > 'a'
+'a' < 'a'
+'a' < 'b'
+'b' < 'a'
+'a' >= 'a'
+'a' >= 'b'
+'b' >= 'a'
+'a' <= 'a'
+'a' <= 'b'
+'b' <= 'a'
+'a' > '0.0'
+'a' < '0.0'