$this->assertEquals("*/*[name() = 'h1' and (position() = 1)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and ((position() -1) mod 2 = 0 and position() >= 1)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and ((position() +0) mod 2 = 0 and position() >= 0)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and (position() >= 0)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and ((position() -1) mod 3 = 0 and position() >= 1)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and (position() >= 1)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and (position() = 2)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and ((position() +0) mod 2 = 0 and position() >= 0)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and ((position() +0) mod -1 = 0 and position() >= 0)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');
$this->assertEquals("*/*[name() = 'h1' and (position() = last() - 2)]",(string)$function->toXpath(),'->toXpath() returns the xpath representation of the node');