steghide 0.5.1
MatchingTest.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_MATCHINGTEST_H
22#define SH_MATCHINGTEST_H
23
24#define private public
25#define protected public
26#include "Matching.h"
27#undef private
28#undef protected
29class BitString ;
30class CvrStgFile ;
31class Selector ;
32
33#include "UnitTest.h"
34#include "TestSuite.h"
35
36class MatchingTest : public UnitTest {
37 public:
39
40 void setup (void) ;
41 void cleanup (void) ;
42
43 void testAddRemoveEdge (void) ;
44 void testAugmentingPath (void) ;
45
46 private:
50 Graph *g1, *g2 ;
53} ;
54
55#endif // ndef SH_MATCHINGTEST_H
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
Definition MatchingTest.h:36
BitString * bs2
Definition MatchingTest.h:47
Selector * s1
Definition MatchingTest.h:49
Selector * s2
Definition MatchingTest.h:49
BitString * bs1
Definition MatchingTest.h:47
Matching * m2
Definition MatchingTest.h:51
void setup(void)
Definition MatchingTest.cc:39
CvrStgFile * f1
Definition MatchingTest.h:48
CvrStgFile * f2
Definition MatchingTest.h:48
void testAugmentingPath(void)
Definition MatchingTest.cc:152
Graph * g1
Definition MatchingTest.h:50
Matching * m1
Definition MatchingTest.h:51
Graph * g2
Definition MatchingTest.h:50
Globals gl1
Definition MatchingTest.h:52
void cleanup(void)
Definition MatchingTest.cc:67
void testAddRemoveEdge(void)
Definition MatchingTest.cc:84
Globals gl2
Definition MatchingTest.h:52
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