SampleValueTest Class Reference
#include <SampleValueTest.h>
List of all members.
Constructor & Destructor Documentation
SampleValueTest::SampleValueTest |
( |
std::string |
n, |
|
|
TestSuite * |
s | |
|
) |
| | [inline] |
Member Function Documentation
generic distance test
- Parameters:
-
| s1 | a sample value |
| s2 | another sample value |
| dist | this should be the distance between s1 and s2 |
- Returns:
- true iff distance is commutative and return dist
generic neighbourhood test
- Parameters:
-
| s1 | a sample value |
| s2 | another sample value |
| res | true iff they are neighbours |
- Returns:
- true iff calling isNeighbour (with reflexivity) equals res
generic evalue test
- Parameters:
-
| s | a sample value |
| ev | an embedded value |
- Returns:
- true iff s->getEmbeddedValue() == ev
The documentation for this class was generated from the following files: