steghide  0.5.1
DFSAPHeuristicTest.h
Go to the documentation of this file.
1 /*
2  * steghide 0.5.1 - a steganography program
3  * Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  *
19  */
20 
21 #ifndef SH_DFSAPHEURISTICTEST_H
22 #define SH_DFSAPHEURISTICTEST_H
23 
24 class DFSAPHeuristic ;
25 class BitString ;
26 class CvrStgFile ;
27 class Matching ;
28 class Selector ;
29 
30 #include "UnitTest.h"
31 #include "TestSuite.h"
32 
33 class DFSAPHeuristicTest : public UnitTest {
34  public:
36 
37  void setup (void) ;
38  void cleanup (void) ;
39 
40  void testAlgorithm (void) ;
41 
42  private:
43  BitString *bs1, *bs2, *bs3, *bs4, *bs5 ;
44  CvrStgFile *f1, *f2, *f3, *f4, *f5 ;
45  Selector *s1, *s2, *s3, *s4, *s5 ;
46  Graph *g1, *g2, *g3, *g4, *g5 ;
47  Matching *m1, *m2, *m3, *m4, *m5 ;
50 } ;
51 
52 #endif // ndef SH_DFSAPHEURISTICTEST_H
CvrStgFile
a cover-/stego-file
Definition: CvrStgFile.h:46
DFSAPHeuristicTest::gl3
Globals gl3
Definition: DFSAPHeuristicTest.h:49
Matching
represent a matching on a graph
Definition: Matching.h:41
Selector
a random permutation of a random combination
Definition: Selector.h:36
DFSAPHeuristicTest::g4
Graph * g4
Definition: DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::bs4
BitString * bs4
Definition: DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::s3
Selector * s3
Definition: DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::m1
Matching * m1
Definition: DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::aph1
DFSAPHeuristic * aph1
Definition: DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::testAlgorithm
void testAlgorithm(void)
Definition: DFSAPHeuristicTest.cc:154
DFSAPHeuristicTest::aph3
DFSAPHeuristic * aph3
Definition: DFSAPHeuristicTest.h:48
DFSAPHeuristic
a matching algorithm implementing a heuristic search for augmenting paths
Definition: DFSAPHeuristic.h:40
DFSAPHeuristicTest::f4
CvrStgFile * f4
Definition: DFSAPHeuristicTest.h:44
UnitTest
Definition: UnitTest.h:38
DFSAPHeuristicTest::aph4
DFSAPHeuristic * aph4
Definition: DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::g1
Graph * g1
Definition: DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::bs5
BitString * bs5
Definition: DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::f3
CvrStgFile * f3
Definition: DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::f1
CvrStgFile * f1
Definition: DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::m5
Matching * m5
Definition: DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::bs2
BitString * bs2
Definition: DFSAPHeuristicTest.h:43
DFSAPHeuristicTest
Definition: DFSAPHeuristicTest.h:33
DFSAPHeuristicTest::cleanup
void cleanup(void)
Definition: DFSAPHeuristicTest.cc:143
DFSAPHeuristicTest::gl5
Globals gl5
Definition: DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::f2
CvrStgFile * f2
Definition: DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::s2
Selector * s2
Definition: DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::DFSAPHeuristicTest
DFSAPHeuristicTest(TestSuite *s)
Definition: DFSAPHeuristicTest.cc:37
DFSAPHeuristicTest::m3
Matching * m3
Definition: DFSAPHeuristicTest.h:47
Globals
some useful pointers that should be global
Definition: Globals.h:52
DFSAPHeuristicTest::f5
CvrStgFile * f5
Definition: DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::g5
Graph * g5
Definition: DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::s1
Selector * s1
Definition: DFSAPHeuristicTest.h:45
TestSuite.h
DFSAPHeuristicTest::g3
Graph * g3
Definition: DFSAPHeuristicTest.h:46
UnitTest.h
BitString
a string of bits
Definition: BitString.h:42
TestSuite
Definition: TestSuite.h:31
DFSAPHeuristicTest::setup
void setup(void)
Definition: DFSAPHeuristicTest.cc:43
DFSAPHeuristicTest::aph5
DFSAPHeuristic * aph5
Definition: DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::m4
Matching * m4
Definition: DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::gl1
Globals gl1
Definition: DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::bs1
BitString * bs1
Definition: DFSAPHeuristicTest.h:43
Graph
a graph constructed from a cover file and a message to be embedded
Definition: Graph.h:51
DFSAPHeuristicTest::gl2
Globals gl2
Definition: DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::s5
Selector * s5
Definition: DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::gl4
Globals gl4
Definition: DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::s4
Selector * s4
Definition: DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::m2
Matching * m2
Definition: DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::g2
Graph * g2
Definition: DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::bs3
BitString * bs3
Definition: DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::aph2
DFSAPHeuristic * aph2
Definition: DFSAPHeuristicTest.h:48