1 PASS doc.evaluate("3.14 < -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 2 PASS doc.evaluate("3.14 <= -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 3 PASS doc.evaluate("3.14 > -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 4 PASS doc.evaluate("3.14 >= 3.14", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 5 PASS doc.evaluate("number('NaN') < -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 6 PASS doc.evaluate("number('NaN') <= -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 7 PASS doc.evaluate("number('NaN') > -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 8 PASS doc.evaluate("number('NaN') >= 3.14", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 9 PASS doc.evaluate("/root/@num2 <= /root/@num2", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 10 PASS doc.evaluate("/root/@num2 >= /root/@num2", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 11 PASS doc.evaluate("/root/@num0 <= /root/@num2", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 12 PASS doc.evaluate("/root/@num0 >= /root/@num2", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 13 PASS doc.evaluate("/root/@num4 <= /root/@num2", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 14 PASS doc.evaluate("/root/@num4 >= /root/@num2", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 15 PASS doc.evaluate("'3.14' = '3.14'", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 16 PASS doc.evaluate("'3.14' = 'Hi'", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 17 PASS doc.evaluate("'3.14' != -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 18 PASS doc.evaluate("number('NaN') = 'Hi'", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 19 PASS doc.evaluate("number('NaN') != -4", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 20 PASS doc.evaluate("number('NaN') = number('NaN')", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 21 PASS doc.evaluate("number('NaN') != number('NaN')", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 22 PASS doc.evaluate("/empty = true()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 23 PASS doc.evaluate("/empty != true()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 24 PASS doc.evaluate("/empty = false()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 25 PASS doc.evaluate("/empty != false()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 26 PASS doc.evaluate("/empty = /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 27 PASS doc.evaluate("/empty != /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 28 PASS doc.evaluate("/root/*[1] = /empty", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 29 PASS doc.evaluate("/root/*[1] != /empty", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 30 PASS doc.evaluate("/root/*[1] = /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 31 PASS doc.evaluate("/root/*[1] != /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 32 PASS doc.evaluate("'egg1' = /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 33 PASS doc.evaluate("'egg1' != /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 34 PASS doc.evaluate("'egg2' = /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 35 PASS doc.evaluate("'egg2' != /root/*[1]", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 36 PASS doc.evaluate("'egg1' = /root/*", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 37 PASS doc.evaluate("'egg1' != /root/*", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 38 PASS doc.evaluate("true() and true()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 39 PASS doc.evaluate("true() and false()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 40 PASS doc.evaluate("false() and true()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 41 PASS doc.evaluate("false() and false()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 42 PASS doc.evaluate("true() or false()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 43 PASS doc.evaluate("false() or true()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 44 PASS doc.evaluate("true() or true()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is true 45 PASS doc.evaluate("false() or false()", doc, null, XPathResult.BOOLEAN_TYPE, null).booleanValue is false 46 PASS successfullyParsed is true 47 48 TEST COMPLETE 49 50