mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-12 16:58:16 +03:00
* trionan.c trionan.h xpath.c: more patches from Richard Jinks * test/XPath/expr/compare test/XPath/expr/equality test/XPath/expr/floats test/XPath/expr/functions test/XPath/expr/strings result/XPath/expr/compare result/XPath/expr/equality result/XPath/expr/floats result/XPath/expr/functions result/XPath/expr/strings: Updated tests though they show a divergence on Linux Daniel
105 lines
2.0 KiB
Plaintext
105 lines
2.0 KiB
Plaintext
|
|
========================
|
|
Expression: 1=1
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1!=1
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1=0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1!=0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: true()=true()
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: true()!=true()
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: true()=false()
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: false()!=true()
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 'test'='test'
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 'test'!='test'
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 'test2'='test'
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 'test2'!='test'
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: false()=0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: false()!=0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: false()=1
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: false()!=1
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 0=true()
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 0!=true()
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1=true()
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1!=true()
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: true()='test'
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: false()='test'
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 'test'!=true()
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 'test'!=false()
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 'a'=0.0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 'a'!=0.0
|
|
Object is a Boolean : true
|