assertEquals(3, result.intValue());
}
public void testLogicalAssociativity() throws JaxenException {
XPath xpath = new DOMXPath("false() or true() and true() and false()");
Boolean result = (Boolean) xpath.evaluate(doc);
assertFalse(result.booleanValue());
}
public void testRelationalAssociativity3() throws JaxenException {
XPath xpath = new DOMXPath("3 > 2 > 1");