[Avl-cvs] avl/src test.cpp,1.9,1.10
Brought to you by:
hetfield666,
jah2003
From: Gianlorenzo D\\'A. <ja...@us...> - 2004-09-06 17:03:49
|
Update of /cvsroot/avl/avl/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5600/src Modified Files: test.cpp Log Message: Index: test.cpp =================================================================== RCS file: /cvsroot/avl/avl/src/test.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** test.cpp 6 Sep 2004 16:44:16 -0000 1.9 --- test.cpp 6 Sep 2004 17:03:40 -0000 1.10 *************** *** 202,208 **** sleep(5); Avl_Test(upperbound); ! if ((temp_timer-getInitTimer())>double(0)) printf("***************************\nAVL faster\n***************************\n"); ! if ((temp_timer-getInitTimer())<double(0)) printf("***************************\nBST faster\n***************************\n"); ! if ((temp_timer-getInitTimer())==double(0)) printf("***************************\nNo real differences found\n***************************\n"); int max=bst->max()->getValue(); //caching! --- 202,208 ---- sleep(5); Avl_Test(upperbound); ! if ((temp_timer-getChangeTimer())>double(0)) printf("***************************\nAVL faster\n***************************\n"); ! if ((temp_timer-getChangeTimer())<double(0)) printf("***************************\nBST faster\n***************************\n"); ! if ((temp_timer-getChangeTimer())==double(0)) printf("***************************\nNo real differences found\n***************************\n"); int max=bst->max()->getValue(); //caching! |