Closed Mihai-P closed 9 years ago
1 thing, the trees you have created are in the wrong order. When the dataset is created, it is created ordered by id
not by lft
. I have created the XML trees but I had to move the New Node to the end. If you know a way to order the dataset by lft
it would be great as it is much easier to follow.
I also added tests for insertBefore and insertAfter
@Mihai-P Great work! Thanks!
making the tests work for prependTo and appendTo. I created the XML trees and uncommented the lines that run the actual tests.