equality 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. ========================
  2. Expression: 1=1
  3. Object is a Boolean : true
  4. ========================
  5. Expression: 1!=1
  6. Object is a Boolean : false
  7. ========================
  8. Expression: 1=0
  9. Object is a Boolean : false
  10. ========================
  11. Expression: 1!=0
  12. Object is a Boolean : true
  13. ========================
  14. Expression: true()=true()
  15. Object is a Boolean : true
  16. ========================
  17. Expression: true()!=true()
  18. Object is a Boolean : false
  19. ========================
  20. Expression: true()=false()
  21. Object is a Boolean : false
  22. ========================
  23. Expression: false()!=true()
  24. Object is a Boolean : true
  25. ========================
  26. Expression: 'test'='test'
  27. Object is a Boolean : true
  28. ========================
  29. Expression: 'test'!='test'
  30. Object is a Boolean : false
  31. ========================
  32. Expression: 'test2'='test'
  33. Object is a Boolean : false
  34. ========================
  35. Expression: 'test2'!='test'
  36. Object is a Boolean : true
  37. ========================
  38. Expression: false()=0
  39. Object is a Boolean : true
  40. ========================
  41. Expression: false()!=0
  42. Object is a Boolean : false
  43. ========================
  44. Expression: false()=1
  45. Object is a Boolean : false
  46. ========================
  47. Expression: false()!=1
  48. Object is a Boolean : true
  49. ========================
  50. Expression: 0=true()
  51. Object is a Boolean : false
  52. ========================
  53. Expression: 0!=true()
  54. Object is a Boolean : true
  55. ========================
  56. Expression: 1=true()
  57. Object is a Boolean : true
  58. ========================
  59. Expression: 1!=true()
  60. Object is a Boolean : false
  61. ========================
  62. Expression: true()='test'
  63. Object is a Boolean : true
  64. ========================
  65. Expression: false()='test'
  66. Object is a Boolean : false
  67. ========================
  68. Expression: 'test'!=true()
  69. Object is a Boolean : false
  70. ========================
  71. Expression: 'test'!=false()
  72. Object is a Boolean : true
  73. ========================
  74. Expression: 'a'=0.0
  75. Object is a Boolean : false
  76. ========================
  77. Expression: 'a'!=0.0
  78. Object is a Boolean : true