diff options
author | Matt Armstrong <matt@rfc20.org> | 2022-10-10 08:48:41 -0700 |
---|---|---|
committer | Matt Armstrong <matt@rfc20.org> | 2022-10-10 19:37:51 -0700 |
commit | 67b9e89a5aa0052b1abdcd8971a0fa83f52e13a5 (patch) | |
tree | 689c6c3aaf8d24cad9aaf470765010e08d6e53a8 /test/lisp/emacs-lisp/float-sup-tests.el | |
parent | 246acbddbeb3e9a390fe78242259182af0c2cc18 (diff) | |
download | emacs-67b9e89a5aa0052b1abdcd8971a0fa83f52e13a5.tar.gz emacs-67b9e89a5aa0052b1abdcd8971a0fa83f52e13a5.tar.bz2 emacs-67b9e89a5aa0052b1abdcd8971a0fa83f52e13a5.zip |
Improve check_subtree
* src/itree.c (struct check_subtree_result): new struct returned by
check_subtree.
(check_subtree): new function, renamed from recurse_check_tree. Add
new black height assertions.
(check_tree): assert that the tree has non-negative size, assert that
limiting to interval_tree_max_height(tree) levels is enough to
traverses the complete tree.
Diffstat (limited to 'test/lisp/emacs-lisp/float-sup-tests.el')
0 files changed, 0 insertions, 0 deletions