steghide  0.5.1
BFSAPHeuristicTest.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_BFSAPHEURISTICTEST_H
22 #define SH_BFSAPHEURISTICTEST_H
23 
24 class BFSAPHeuristic ;
25 class BitString ;
26 class CvrStgFile ;
27 class Matching ;
28 class Selector ;
29 
30 #include "UnitTest.h"
31 #include "TestSuite.h"
32 
33 class BFSAPHeuristicTest : 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_BFSAPHEURISTICTEST_H
Selector * s2
Definition: BFSAPHeuristicTest.h:45
BFSAPHeuristic * aph5
Definition: BFSAPHeuristicTest.h:48
Graph * g3
Definition: BFSAPHeuristicTest.h:46
BitString * bs2
Definition: BFSAPHeuristicTest.h:43
Definition: BFSAPHeuristicTest.h:33
Globals gl1
Definition: BFSAPHeuristicTest.h:49
CvrStgFile * f2
Definition: BFSAPHeuristicTest.h:44
BitString * bs4
Definition: BFSAPHeuristicTest.h:43
a graph constructed from a cover file and a message to be embedded
Definition: Graph.h:51
BitString * bs5
Definition: BFSAPHeuristicTest.h:43
a cover-/stego-file
Definition: CvrStgFile.h:46
void testAlgorithm(void)
Definition: BFSAPHeuristicTest.cc:113
Graph * g4
Definition: BFSAPHeuristicTest.h:46
a matching algorithm implementing a heuristic breadth-first-search for augmenting paths ...
Definition: BFSAPHeuristic.h:36
Selector * s1
Definition: BFSAPHeuristicTest.h:45
BFSAPHeuristic * aph3
Definition: BFSAPHeuristicTest.h:48
Selector * s5
Definition: BFSAPHeuristicTest.h:45
some useful pointers that should be global
Definition: Globals.h:52
BFSAPHeuristicTest(TestSuite *s)
Definition: BFSAPHeuristicTest.cc:37
Globals gl4
Definition: BFSAPHeuristicTest.h:49
BFSAPHeuristic * aph4
Definition: BFSAPHeuristicTest.h:48
Matching * m4
Definition: BFSAPHeuristicTest.h:47
Matching * m2
Definition: BFSAPHeuristicTest.h:47
CvrStgFile * f3
Definition: BFSAPHeuristicTest.h:44
Matching * m5
Definition: BFSAPHeuristicTest.h:47
Globals gl2
Definition: BFSAPHeuristicTest.h:49
Graph * g2
Definition: BFSAPHeuristicTest.h:46
Definition: UnitTest.h:38
a random permutation of a random combination
Definition: Selector.h:36
represent a matching on a graph
Definition: Matching.h:41
Selector * s4
Definition: BFSAPHeuristicTest.h:45
BitString * bs3
Definition: BFSAPHeuristicTest.h:43
BitString * bs1
Definition: BFSAPHeuristicTest.h:43
Definition: TestSuite.h:31
a string of bits
Definition: BitString.h:42
Matching * m3
Definition: BFSAPHeuristicTest.h:47
CvrStgFile * f4
Definition: BFSAPHeuristicTest.h:44
void setup(void)
Definition: BFSAPHeuristicTest.cc:43
Selector * s3
Definition: BFSAPHeuristicTest.h:45
CvrStgFile * f1
Definition: BFSAPHeuristicTest.h:44
Globals gl3
Definition: BFSAPHeuristicTest.h:49
CvrStgFile * f5
Definition: BFSAPHeuristicTest.h:44
Graph * g5
Definition: BFSAPHeuristicTest.h:46
void cleanup(void)
Definition: BFSAPHeuristicTest.cc:103
BFSAPHeuristic * aph1
Definition: BFSAPHeuristicTest.h:48
Globals gl5
Definition: BFSAPHeuristicTest.h:49
Matching * m1
Definition: BFSAPHeuristicTest.h:47
BFSAPHeuristic * aph2
Definition: BFSAPHeuristicTest.h:48
Graph * g1
Definition: BFSAPHeuristicTest.h:46