public virtual void testDepthWalk() { BaseWalkerFactory bf = new BaseWalkerFactory(); new TestWalker(bf); XMLDoc d = new XMLDoc("a", null); ElementWalker ew = new ElementWalker(bf); KElement root = d.getRoot(); Assert.AreEqual(1, ew.walk(root)); for (int i = 1; i <= 10; i++) { root.getCreateXPathElement("b/c/d[" + i + "]"); } Assert.AreEqual(13, ew.walk(root), "a,b,c+10*d=13"); }