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