#include <SampleValueTest.h>
SampleValueTest::SampleValueTest |
( |
std::string |
n, |
|
|
TestSuite * |
s |
|
) |
| |
|
inline |
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 evalue test
- Parameters
-
s | a sample value |
ev | an embedded value |
- Returns
- true iff s->getEmbeddedValue() == ev
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
The documentation for this class was generated from the following files: