BmpPaletteSampleValueTest.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_BMPPALETTESAMPLEVALUETEST_H
#define SH_BMPPALETTESAMPLEVALUETEST_H
#include "SampleValueTest.h"
class CvrStgFile ;
class BmpPaletteSampleValueTest : public SampleValueTest {
public:
BmpPaletteSampleValueTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testDistance (void) ;
void testIsNeighbour (void) ;
private:
CvrStgFile *f1, *f2 ;
Globals gl1, gl2 ;
SampleValue *sv1_0, *sv1_3, *sv1_7, *sv1_15 ;
SampleValue *sv2_3_49_96_5, *sv2_10_11_99_203, *sv2_48_18_106_194, *sv2_68_73_104_15, *sv2_171_61_97_25 ;
} ;
#endif // ndef SH_BMPPALETTESAMPLEVALUETEST_H
BmpPaletteSampleValueTest::setup
void setup(void)
Definition: BmpPaletteSampleValueTest.cc:34
BmpPaletteSampleValueTest::BmpPaletteSampleValueTest
BmpPaletteSampleValueTest(TestSuite *s)
Definition: BmpPaletteSampleValueTest.cc:27
BmpPaletteSampleValueTest::testIsNeighbour
void testIsNeighbour(void)
Definition: BmpPaletteSampleValueTest.cc:83
BmpPaletteSampleValueTest::sv1_15
SampleValue * sv1_15
Definition: BmpPaletteSampleValueTest.h:41
SampleValueTest
Definition: SampleValueTest.h:30
CvrStgFile
a cover-/stego-file
Definition: CvrStgFile.h:46
BmpPaletteSampleValueTest
Definition: BmpPaletteSampleValueTest.h:28
BmpPaletteSampleValueTest::f1
CvrStgFile * f1
Definition: BmpPaletteSampleValueTest.h:39
Globals
some useful pointers that should be global
Definition: Globals.h:52
BmpPaletteSampleValueTest::sv1_3
SampleValue * sv1_3
Definition: BmpPaletteSampleValueTest.h:41
SampleValue
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
BmpPaletteSampleValueTest::gl2
Globals gl2
Definition: BmpPaletteSampleValueTest.h:40
BmpPaletteSampleValueTest::sv2_68_73_104_15
SampleValue * sv2_68_73_104_15
Definition: BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv2_171_61_97_25
SampleValue * sv2_171_61_97_25
Definition: BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv1_0
SampleValue * sv1_0
Definition: BmpPaletteSampleValueTest.h:41
BmpPaletteSampleValueTest::cleanup
void cleanup(void)
Definition: BmpPaletteSampleValueTest.cc:56
BmpPaletteSampleValueTest::sv1_7
SampleValue * sv1_7
Definition: BmpPaletteSampleValueTest.h:41
BmpPaletteSampleValueTest::f2
CvrStgFile * f2
Definition: BmpPaletteSampleValueTest.h:39
BmpPaletteSampleValueTest::sv2_3_49_96_5
SampleValue * sv2_3_49_96_5
Definition: BmpPaletteSampleValueTest.h:42
TestSuite
Definition: TestSuite.h:31
BmpPaletteSampleValueTest::gl1
Globals gl1
Definition: BmpPaletteSampleValueTest.h:40
BmpPaletteSampleValueTest::sv2_48_18_106_194
SampleValue * sv2_48_18_106_194
Definition: BmpPaletteSampleValueTest.h:42
SampleValueTest.h
BmpPaletteSampleValueTest::testDistance
void testDistance(void)
Definition: BmpPaletteSampleValueTest.cc:67
BmpPaletteSampleValueTest::sv2_10_11_99_203
SampleValue * sv2_10_11_99_203
Definition: BmpPaletteSampleValueTest.h:42