samplevaluetest(3)
NAME
SampleValueTest
SYNOPSIS
#include <SampleValueTest.h> Inherits UnitTest. Inherited by AudioSampleValueTest, BmpPaletteSampleValueTest, BmpRGBSampleValueTest, JpegSampleValueTest, and WavPCMSampleValueTest. 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)
Constructor & Destructor Documentation
SampleValueTest::SampleValueTest (std::string n, TestSuite * s) [inline]
Member Function Documentation
- bool SampleValueTest::genericTestDistance (SampleValue * s1, SampleValue *
- s2, UWORD32 dist) [protected] 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
- bool SampleValueTest::genericTestIsNeighbour (SampleValue * s1, SampleValue
- * s2, bool res) [protected] 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
- bool SampleValueTest::genericTestEValue (SampleValue * s, EmbValue ev)
- [protected]
generic evalue test - Parameters:
s a sample value
ev an embedded value - Returns:
true iff s->getEmbeddedValue() == ev
Author
- Generated automatically by Doxygen for steghide from the source code.