Mercurial > hg > audiodb
comparison libtests/0030/prog1.c @ 379:7e6c99481b8b
Fix two more tests
* testoneradiusresult() was comparing the wrong fields;
* there was a stray power flag in libtests/0030
(I am a little bit suspicious of the reuse of the "myadbquery" variable
within a single test; I don't see anything that clears out old values
from the struct, so subsequent calls will retain them. It might be that
those old values are harmless, but I think this calls for a bit of test
file reworking...)
author | mas01cr |
---|---|
date | Sun, 16 Nov 2008 21:18:40 +0000 |
parents | 94c18f128ce8 |
children | e072aa1611f5 342822c2d49a |
comparison
equal
deleted
inserted
replaced
378:ac1662433fe6 | 379:7e6c99481b8b |
---|---|
146 //${AUDIODB} -d testdb -Q sequence -l 2 -f testquery -p 0 -R 1.1 > testoutput | 146 //${AUDIODB} -d testdb -Q sequence -l 2 -f testquery -p 0 -R 1.1 > testoutput |
147 //echo testfeature 1 > test-expected-output | 147 //echo testfeature 1 > test-expected-output |
148 //cmp testoutput test-expected-output | 148 //cmp testoutput test-expected-output |
149 myadbquery.querytype="sequence"; | 149 myadbquery.querytype="sequence"; |
150 myadbquery.feature="testquery"; | 150 myadbquery.feature="testquery"; |
151 myadbquery.power="testquerypower"; | 151 //myadbquery.power="testquerypower"; |
152 myadbquery.sequencelength="2"; | 152 myadbquery.sequencelength="2"; |
153 myadbquery.qpoint="0"; | 153 myadbquery.qpoint="0"; |
154 //myadbquery.absolute_threshold=0.0; | 154 //myadbquery.absolute_threshold=0.0; |
155 //myadbquery.relative_threshold=0.1; | 155 //myadbquery.relative_threshold=0.1; |
156 myadbquery.radius="1.1"; | 156 myadbquery.radius="1.1"; |