[Bug 1861] RBTree: redundant code removed

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jul 29 13:47:52 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1861

--- Comment #3 from Petr Benes <benesp16 at fel.cvut.cz> 2011-07-29 08:47:51 CDT ---
Ok, the first one I would know if the function returned non-void. So you mean I
can test for it with the RTEMS_DEBUG macro?

The second one I have tested the condition for each node in rbtree (size 1 -
100 nodes incrementally inserting nodes) to have only a left child which did
not occur. It is always on the right if a node is single child.

The third one, I also have a test for trees of 1 - 100 nodes searching for
condition where a dad and child are black and no other child is present. Not
found. 
But it is also just incremental insertion of nodes.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list