Mercurial > hg > audiodb
comparison libtests/0030/prog1.c @ 488:f4dc8e47ee37 api-inversion
Remove dump_query() function.
It seems to have been used for printf debugging of test files and never
removed. (Debuggers aren't great, but they are better than
hand-maintained printing routines for this kind of thing; in particular,
gdb will do this for you rather better than dump_query() did.)
author | mas01cr |
---|---|
date | Sat, 10 Jan 2009 15:32:49 +0000 |
parents | e072aa1611f5 |
children | 1950d76be128 |
comparison
equal
deleted
inserted
replaced
487:e072aa1611f5 | 488:f4dc8e47ee37 |
---|---|
86 //myadbquery.relative_threshold=0.1; | 86 //myadbquery.relative_threshold=0.1; |
87 myadbquery.radius="0.1"; | 87 myadbquery.radius="0.1"; |
88 audiodb_query(mydbp,&myadbquery,&myadbqueryresult); | 88 audiodb_query(mydbp,&myadbquery,&myadbqueryresult); |
89 size=myadbqueryresult.sizeRlist; | 89 size=myadbqueryresult.sizeRlist; |
90 | 90 |
91 dump_query(&myadbquery,&myadbqueryresult); | |
92 | |
93 /* check the test values */ | 91 /* check the test values */ |
94 if (size != 1) {returnval = -1;}; | 92 if (size != 1) {returnval = -1;}; |
95 if (testoneradiusresult(&myadbqueryresult,0,"testfeature",1)) {returnval = -1;}; | 93 if (testoneradiusresult(&myadbqueryresult,0,"testfeature",1)) {returnval = -1;}; |
96 | 94 |
97 //${AUDIODB} -d testdb -Q sequence -l 1 -f testquery -p 0 -R 0.1 > testoutput | 95 //${AUDIODB} -d testdb -Q sequence -l 1 -f testquery -p 0 -R 0.1 > testoutput |