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
SampleValueTest.h
BmpPaletteSampleValueTest::cleanup
void cleanup(void)
Definition BmpPaletteSampleValueTest.cc:56
BmpPaletteSampleValueTest::f2
CvrStgFile * f2
Definition BmpPaletteSampleValueTest.h:39
BmpPaletteSampleValueTest::testDistance
void testDistance(void)
Definition BmpPaletteSampleValueTest.cc:67
BmpPaletteSampleValueTest::f1
CvrStgFile * f1
Definition BmpPaletteSampleValueTest.h:39
BmpPaletteSampleValueTest::sv2_48_18_106_194
SampleValue * sv2_48_18_106_194
Definition BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv2_171_61_97_25
SampleValue * sv2_171_61_97_25
Definition BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv2_68_73_104_15
SampleValue * sv2_68_73_104_15
Definition BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv2_3_49_96_5
SampleValue * sv2_3_49_96_5
Definition BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv1_7
SampleValue * sv1_7
Definition BmpPaletteSampleValueTest.h:41
BmpPaletteSampleValueTest::sv1_3
SampleValue * sv1_3
Definition BmpPaletteSampleValueTest.h:41
BmpPaletteSampleValueTest::testIsNeighbour
void testIsNeighbour(void)
Definition BmpPaletteSampleValueTest.cc:83
BmpPaletteSampleValueTest::setup
void setup(void)
Definition BmpPaletteSampleValueTest.cc:34
BmpPaletteSampleValueTest::gl2
Globals gl2
Definition BmpPaletteSampleValueTest.h:40
BmpPaletteSampleValueTest::sv2_10_11_99_203
SampleValue * sv2_10_11_99_203
Definition BmpPaletteSampleValueTest.h:42
BmpPaletteSampleValueTest::sv1_0
SampleValue * sv1_0
Definition BmpPaletteSampleValueTest.h:41
BmpPaletteSampleValueTest::sv1_15
SampleValue * sv1_15
Definition BmpPaletteSampleValueTest.h:41
BmpPaletteSampleValueTest::BmpPaletteSampleValueTest
BmpPaletteSampleValueTest(TestSuite *s)
Definition BmpPaletteSampleValueTest.cc:27
BmpPaletteSampleValueTest::gl1
Globals gl1
Definition BmpPaletteSampleValueTest.h:40
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