- Timestamp:
- 01/22/08 12:34:00 (5 years ago)
- Location:
- lang/c/rbtree/branches/bst_inherit_impl
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
test_bstree.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/c/rbtree/branches/bst_inherit_impl/ChangeLog
r5249 r5251 4 4 test_foreach, test_foreach_range, test_dfs_foreach, 5 5 test_bfs_foreach): finish complete test implementation. 6 (dfs_index): correct index order. 6 7 7 8 * bstree.h, test_bstree.c: add generic binary search tree -
lang/c/rbtree/branches/bst_inherit_impl/test_bstree.c
r5249 r5251 64 64 static struct bstree_node* nodes[12] = { 0, }; 65 65 static struct bstree_node* root = 0; 66 static int dfs_index[12] = { 0, 1, 4, 3, 2, 6, 8, 7, 10, 11, 9, 5};66 static int dfs_index[12] = { 5, 2, 1, 0, 3, 4, 9, 7, 6, 8, 11, 10 }; 67 67 static int bfs_index[12] = { 5, 2, 9, 1, 3, 7, 11, 0, 4, 6, 8, 10 }; 68 68
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)