Mercurial > hg > audiodb
view tests/0005/run-test.sh @ 232:c76cdcf096fd refactoring
Proof of Reporter concept: restore pointQuery and trackPointQuery
Only now it's "obvious" how they are the same and how they differ from
the basic loop:
* normalizedDistance is the only new feature added;
* all the rest is in reporter stuff...
* ... except that we have to turn on L2Norm, even if we don't use it.
Alter the tests to cope with this fact, l2norming the point- and
track-search databases.
author | mas01cr |
---|---|
date | Mon, 10 Dec 2007 20:01:43 +0000 |
parents | 584ae2c7d026 |
children |
line wrap: on
line source
#! /bin/bash . ../test-utils.sh if [ -f testdb ]; then rm -f testdb; fi ${AUDIODB} -d testdb -N intstring 2 > testfeature floatstring 0 1 >> testfeature floatstring 1 0 >> testfeature ${AUDIODB} -d testdb -I -f testfeature echo running L2Norm ${AUDIODB} -d testdb -L exit 104