Skip to content

Commit

Permalink
new red-black tree(recursive but inherit base tree class) pass the test
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzprix committed Mar 28, 2016
1 parent 08e0896 commit 263a77f
Show file tree
Hide file tree
Showing 10 changed files with 404 additions and 414 deletions.
4 changes: 0 additions & 4 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,16 @@ int main(void){
{
exit(-1);
}

printf("Splay tree Test Result : %s\n",RESULT_STRING[result = cdsl_spltreeDoTest()]);
if(result == FALSE)
{
exit(-1);
}

printf("Red Black Tree Test Result : %s\n",RESULT_STRING[result = cdsl_rbtreeDoTest()]);
if(result == FALSE)
{
exit(-1);
}

printf("Singly-Linked List Test Result : %s\n",RESULT_STRING[result = cdsl_slistDoTest()]);
if(result == FALSE)
{
Expand All @@ -60,7 +57,6 @@ int main(void){
{
exit(-1);
}

printf("New Red Black Tree Test Result : %s\n",RESULT_STRING[result = cdsl_nrbtreeDoTest()]);
if(result == FALSE)
{
Expand Down
Loading

0 comments on commit 263a77f

Please sign in to comment.