Fix issue for RB Tree _it_equal_p method
if both iterators are equal and are associated to a RB tree without any element.
This commit is contained in:
1 parent
408959c927
commit
a79cd9da97
2 files changed
+9
-2
No files matched your search
@@ -96,6 +96,8 @@ static void test_uint(void)
|
||||
rbtree_uint_it_end(it, tree);
|
||||
assert (rbtree_uint_end_p(it));
|
||||
assert(!rbtree_uint_it_equal_p(it2, it));
|
||||
rbtree_uint_it_end(it2, tree);
|
||||
assert(rbtree_uint_it_equal_p(it2, it));
|
||||
assert( k == 0);
|
||||
assert (rbtree_uint_hash(tree) != 0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user