MatchingTest.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_MATCHINGTEST_H
#define SH_MATCHINGTEST_H
#define private public
#define protected public
#include "Matching.h"
#undef private
#undef protected
class BitString ;
class CvrStgFile ;
class Selector ;
#include "UnitTest.h"
#include "TestSuite.h"
class MatchingTest : public UnitTest {
public:
MatchingTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testAddRemoveEdge (void) ;
void testAugmentingPath (void) ;
private:
BitString *bs1, *bs2 ;
CvrStgFile *f1, *f2 ;
Selector *s1, *s2 ;
Graph *g1, *g2 ;
Matching *m1, *m2 ;
Globals gl1, gl2 ;
} ;
#endif // ndef SH_MATCHINGTEST_H
MatchingTest::g2
Graph * g2
Definition: MatchingTest.h:50
MatchingTest
Definition: MatchingTest.h:36
MatchingTest::bs1
BitString * bs1
Definition: MatchingTest.h:47
MatchingTest::s1
Selector * s1
Definition: MatchingTest.h:49
Graph
a graph constructed from a cover file and a message to be embedded
Definition: Graph.h:51
CvrStgFile
a cover-/stego-file
Definition: CvrStgFile.h:46
MatchingTest::gl1
Globals gl1
Definition: MatchingTest.h:52
MatchingTest::MatchingTest
MatchingTest(TestSuite *s)
Definition: MatchingTest.cc:32
MatchingTest::f1
CvrStgFile * f1
Definition: MatchingTest.h:48
Globals
some useful pointers that should be global
Definition: Globals.h:52
MatchingTest::g1
Graph * g1
Definition: MatchingTest.h:50
Matching.h
MatchingTest::cleanup
void cleanup(void)
Definition: MatchingTest.cc:67
MatchingTest::m1
Matching * m1
Definition: MatchingTest.h:51
MatchingTest::setup
void setup(void)
Definition: MatchingTest.cc:39
UnitTest
Definition: UnitTest.h:38
Selector
a random permutation of a random combination
Definition: Selector.h:36
Matching
represent a matching on a graph
Definition: Matching.h:41
MatchingTest::testAugmentingPath
void testAugmentingPath(void)
Definition: MatchingTest.cc:152
UnitTest.h
MatchingTest::bs2
BitString * bs2
Definition: MatchingTest.h:47
MatchingTest::gl2
Globals gl2
Definition: MatchingTest.h:52
MatchingTest::m2
Matching * m2
Definition: MatchingTest.h:51
TestSuite
Definition: TestSuite.h:31
BitString
a string of bits
Definition: BitString.h:42
MatchingTest::s2
Selector * s2
Definition: MatchingTest.h:49
TestSuite.h
MatchingTest::f2
CvrStgFile * f2
Definition: MatchingTest.h:48
MatchingTest::testAddRemoveEdge
void testAddRemoveEdge(void)
Definition: MatchingTest.cc:84