Subversion Repositories PlanixRsrch.SVN

Compare Revisions

Ignore whitespace Rev 330 → Rev 331

/trunk/libmavl/test.c
126,7 → 126,7
mu_assert(depth < maxdepth,
"%s Depth %f >= %f",name,depth,maxdepth);
 
{ FILE * outfile;
/* { FILE * outfile;
int i1;
outfile = fopen("error.dat","wt");
for (i1=0; i1<numvals; i1++){
134,7 → 134,7
}
fclose(outfile);
}
for (i=0; i<numvals; i++){
*/ for (i=0; i<numvals; i++){
int before_count;
delval = vals[i];
167,7 → 167,7
const char * name = "test0";
int type = 0;
int i;
for (i=0; i<10000; i++){
for (i=0; i<1000; i++){
(void)test_mavl(name,i+1,type);
}
(void)test_mavl(name,1024,type);
212,12 → 212,11
int i;
const char * name = "test0_del";
int type = 0;
(void)test_mavl_del(name,1,type);
(void)test_mavl_del(name,2,type);
(void)test_mavl_del(name,3,type);
for (i=0; i<100000; i++)
(void)test_mavl_del(name,40,type);
/* (void)test_mavl_del(name,12701,type);*/
for(i=0; i<1500; i++)
(void)test_mavl_del(name,i+1,type);
 
for (i=0; i<5; i++)
(void)test_mavl_del(name,35000,type);
return 1;
}
int
226,10 → 225,10
printf("First: %f\n",calc_depth(1));
 
mutests tf = {
test0,
test1,
test2,
test0_del,
/* test0,
test1,
test2,*/
NULL
};
return mutests_run(tf);