BmpRGBSampleValueTest.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_BMPRGBSAMPLEVALUETEST_H
#define SH_BMPRGBSAMPLEVALUETEST_H
#include "SampleValueTest.h"
class CvrStgFile ;
class BmpRGBSampleValueTest : public SampleValueTest {
public:
BmpRGBSampleValueTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testDistance (void) ;
void testIsNeighbour (void) ;
private:
CvrStgFile *f_win, *f_os2 ;
SampleValue *sv_0_0_0, *sv_1_1_1, *sv_0_3_4, *sv_10_10_10, *sv_12_13_14, *sv_128_128_128, *sv_210_0_120, *sv_255_255_255 ;
Globals gl_win, gl_os2 ;
} ;
#endif // ndef SH_BMPRGBSAMPLEVALUETEST_H
BmpRGBSampleValueTest::testDistance
void testDistance(void)
Definition: BmpRGBSampleValueTest.cc:69
BmpRGBSampleValueTest::sv_12_13_14
SampleValue * sv_12_13_14
Definition: BmpRGBSampleValueTest.h:40
SampleValueTest
Definition: SampleValueTest.h:30
CvrStgFile
a cover-/stego-file
Definition: CvrStgFile.h:46
BmpRGBSampleValueTest::BmpRGBSampleValueTest
BmpRGBSampleValueTest(TestSuite *s)
Definition: BmpRGBSampleValueTest.cc:27
BmpRGBSampleValueTest::sv_255_255_255
SampleValue * sv_255_255_255
Definition: BmpRGBSampleValueTest.h:40
BmpRGBSampleValueTest::gl_win
Globals gl_win
Definition: BmpRGBSampleValueTest.h:41
Globals
some useful pointers that should be global
Definition: Globals.h:52
BmpRGBSampleValueTest::sv_10_10_10
SampleValue * sv_10_10_10
Definition: BmpRGBSampleValueTest.h:40
BmpRGBSampleValueTest::sv_1_1_1
SampleValue * sv_1_1_1
Definition: BmpRGBSampleValueTest.h:40
SampleValue
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
BmpRGBSampleValueTest::cleanup
void cleanup(void)
Definition: BmpRGBSampleValueTest.cc:55
BmpRGBSampleValueTest::sv_0_3_4
SampleValue * sv_0_3_4
Definition: BmpRGBSampleValueTest.h:40
BmpRGBSampleValueTest::gl_os2
Globals gl_os2
Definition: BmpRGBSampleValueTest.h:41
BmpRGBSampleValueTest
Definition: BmpRGBSampleValueTest.h:28
BmpRGBSampleValueTest::sv_210_0_120
SampleValue * sv_210_0_120
Definition: BmpRGBSampleValueTest.h:40
BmpRGBSampleValueTest::setup
void setup(void)
Definition: BmpRGBSampleValueTest.cc:34
TestSuite
Definition: TestSuite.h:31
BmpRGBSampleValueTest::sv_0_0_0
SampleValue * sv_0_0_0
Definition: BmpRGBSampleValueTest.h:40
SampleValueTest.h
BmpRGBSampleValueTest::f_os2
CvrStgFile * f_os2
Definition: BmpRGBSampleValueTest.h:39
BmpRGBSampleValueTest::sv_128_128_128
SampleValue * sv_128_128_128
Definition: BmpRGBSampleValueTest.h:40
BmpRGBSampleValueTest::testIsNeighbour
void testIsNeighbour(void)
Definition: BmpRGBSampleValueTest.cc:80
BmpRGBSampleValueTest::f_win
CvrStgFile * f_win
Definition: BmpRGBSampleValueTest.h:39