#include <SampleValueTest.h>
Inheritance diagram for SampleValueTest:
Public Member Functions | |
SampleValueTest (std::string n, TestSuite *s) | |
Protected Member Functions | |
bool | genericTestDistance (SampleValue *s1, SampleValue *s2, UWORD32 dist) |
bool | genericTestIsNeighbour (SampleValue *s1, SampleValue *s2, bool res) |
bool | genericTestEValue (SampleValue *s, EmbValue ev) |
SampleValueTest::SampleValueTest | ( | std::string | n, | |
TestSuite * | s | |||
) | [inline] |
bool SampleValueTest::genericTestDistance | ( | SampleValue * | s1, | |
SampleValue * | s2, | |||
UWORD32 | dist | |||
) | [protected] |
generic distance test
s1 | a sample value | |
s2 | another sample value | |
dist | this should be the distance between s1 and s2 |
bool SampleValueTest::genericTestIsNeighbour | ( | SampleValue * | s1, | |
SampleValue * | s2, | |||
bool | res | |||
) | [protected] |
generic neighbourhood test
s1 | a sample value | |
s2 | another sample value | |
res | true iff they are neighbours |
bool SampleValueTest::genericTestEValue | ( | SampleValue * | s, | |
EmbValue | ev | |||
) | [protected] |
generic evalue test
s | a sample value | |
ev | an embedded value |