-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(p/demo/avl): correct order for IterateByOffset (#3393)
the tests were there, but apparently `slicesEqual` had a bug. lol. This comes from #3324, and makes it so that IterateByOffset and ReverseIterateByOffset use the correct order. I changed the `descending` argument of the underlying TraverseByOffset to match it with avl.Node.TraverseInRange. --------- Signed-off-by: moul <[email protected]> Co-authored-by: moul <[email protected]>
- Loading branch information
Showing
4 changed files
with
60 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters