WavPCMSampleValueTest.h
Go to the documentation of this file.
/*
* steghide 0.5.1 - a steganography program
* Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef SH_WAVPCMSAMPLEVALUETEST_H
#define SH_WAVPCMSAMPLEVALUETEST_H
#include "SampleValueTest.h"
class CvrStgFile ;
class WavPCMSampleValueTest : public SampleValueTest {
public:
WavPCMSampleValueTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testDistance (void) ;
void testIsNeighbour (void) ;
private:
CvrStgFile *f_WavPCM8, *f_WavPCM16 ;
SampleValue *sv_WavPCM8_0, *sv_WavPCM8_1, *sv_WavPCM8_45, *sv_WavPCM16_m32768, *sv_WavPCM16_32767, *sv_WavPCM16_0, *sv_WavPCM16_15 ;
Globals gl_WavPCM8, gl_WavPCM16 ;
} ;
#endif // ndef SH_WAVPCMSAMPLEVALUETEST_H
SampleValueTest.h
CvrStgFile
a cover-/stego-file
Definition CvrStgFile.h:46
Globals
some useful pointers that should be global
Definition Globals.h:52
SampleValueTest::SampleValueTest
SampleValueTest(std::string n, TestSuite *s)
Definition SampleValueTest.h:32
SampleValue
the value of a sample in a CvrStgFile
Definition SampleValue.h:61
TestSuite
Definition TestSuite.h:31
WavPCMSampleValueTest::gl_WavPCM8
Globals gl_WavPCM8
Definition WavPCMSampleValueTest.h:41
WavPCMSampleValueTest::WavPCMSampleValueTest
WavPCMSampleValueTest(TestSuite *s)
Definition WavPCMSampleValueTest.cc:27
WavPCMSampleValueTest::sv_WavPCM16_32767
SampleValue * sv_WavPCM16_32767
Definition WavPCMSampleValueTest.h:40
WavPCMSampleValueTest::setup
void setup(void)
Definition WavPCMSampleValueTest.cc:34
WavPCMSampleValueTest::f_WavPCM16
CvrStgFile * f_WavPCM16
Definition WavPCMSampleValueTest.h:39
WavPCMSampleValueTest::sv_WavPCM8_45
SampleValue * sv_WavPCM8_45
Definition WavPCMSampleValueTest.h:40
WavPCMSampleValueTest::testDistance
void testDistance(void)
Definition WavPCMSampleValueTest.cc:63
WavPCMSampleValueTest::sv_WavPCM16_0
SampleValue * sv_WavPCM16_0
Definition WavPCMSampleValueTest.h:40
WavPCMSampleValueTest::cleanup
void cleanup(void)
Definition WavPCMSampleValueTest.cc:54
WavPCMSampleValueTest::sv_WavPCM8_0
SampleValue * sv_WavPCM8_0
Definition WavPCMSampleValueTest.h:40
WavPCMSampleValueTest::f_WavPCM8
CvrStgFile * f_WavPCM8
Definition WavPCMSampleValueTest.h:39
WavPCMSampleValueTest::sv_WavPCM16_m32768
SampleValue * sv_WavPCM16_m32768
Definition WavPCMSampleValueTest.h:40
WavPCMSampleValueTest::sv_WavPCM16_15
SampleValue * sv_WavPCM16_15
Definition WavPCMSampleValueTest.h:40
WavPCMSampleValueTest::gl_WavPCM16
Globals gl_WavPCM16
Definition WavPCMSampleValueTest.h:41
WavPCMSampleValueTest::testIsNeighbour
void testIsNeighbour(void)
Definition WavPCMSampleValueTest.cc:75
WavPCMSampleValueTest::sv_WavPCM8_1
SampleValue * sv_WavPCM8_1
Definition WavPCMSampleValueTest.h:40