comparison tests/0009/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 3c7c8b84e4f3
children
comparison
equal deleted inserted replaced
231:a5d2fa43accf 232:c76cdcf096fd
1 #! /bin/sh 1 #! /bin/sh
2
3 exit 14
4 2
5 . ../test-utils.sh 3 . ../test-utils.sh
6 4
7 if [ -f testdb ]; then rm -f testdb; fi 5 if [ -f testdb ]; then rm -f testdb; fi
8 6
9 ${AUDIODB} -d testdb -N 7 ${AUDIODB} -d testdb -N
8
9 ${AUDIODB} -d testdb -L
10 10
11 intstring 2 > testfeature01 11 intstring 2 > testfeature01
12 floatstring 0 1 >> testfeature01 12 floatstring 0 1 >> testfeature01
13 intstring 2 > testfeature10 13 intstring 2 > testfeature10
14 floatstring 1 0 >> testfeature10 14 floatstring 1 0 >> testfeature10