1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
libxml2/result/XPath/expr/equality
Daniel Veillard 21458c85e2 more patches from Richard Jinks Updated tests though they show a
* 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
2002-03-27 16:12:22 +00:00

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