WKSConstructionHeuristicTest.h
Go to the documentation of this file.
/*
* steghide 0.5.1 - a steganogrchy 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_WKSCONSTRUCTIONHEURISTICTEST_H
#define SH_WKSCONSTRUCTIONHEURISTICTEST_H
class BitString ;
class WKSConstructionHeuristic ;
class CvrStgFile ;
class Graph ;
class Matching ;
class Selector ;
#include "UnitTest.h"
#include "TestSuite.h"
class WKSConstructionHeuristicTest : public UnitTest {
public:
WKSConstructionHeuristicTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testAlgorithm (void) ;
private:
BitString *bs1, *bs2, *bs3 ;
CvrStgFile *f1, *f2, *f3 ;
Selector *s1, *s2, *s3 ;
Graph *g1, *g2, *g3 ;
WKSConstructionHeuristic *ch1, *ch2, *ch3 ;
Matching *m1, *m2, *m3 ;
Globals gl1, gl2, gl3 ;
} ;
#endif // ndef SH_WKSCONSTRUCTIONHEURISTICTEST_H
WKSConstructionHeuristicTest::m1
Matching * m1
Definition: WKSConstructionHeuristicTest.h:49
WKSConstructionHeuristicTest::bs3
BitString * bs3
Definition: WKSConstructionHeuristicTest.h:44
WKSConstructionHeuristicTest::g1
Graph * g1
Definition: WKSConstructionHeuristicTest.h:47
WKSConstructionHeuristicTest
Definition: WKSConstructionHeuristicTest.h:34
WKSConstructionHeuristicTest::testAlgorithm
void testAlgorithm(void)
Definition: WKSConstructionHeuristicTest.cc:91
WKSConstructionHeuristicTest::f3
CvrStgFile * f3
Definition: WKSConstructionHeuristicTest.h:45
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
WKSConstructionHeuristicTest::bs1
BitString * bs1
Definition: WKSConstructionHeuristicTest.h:44
Globals
some useful pointers that should be global
Definition: Globals.h:52
WKSConstructionHeuristicTest::m2
Matching * m2
Definition: WKSConstructionHeuristicTest.h:49
WKSConstructionHeuristicTest::gl3
Globals gl3
Definition: WKSConstructionHeuristicTest.h:50
WKSConstructionHeuristicTest::g2
Graph * g2
Definition: WKSConstructionHeuristicTest.h:47
WKSConstructionHeuristicTest::g3
Graph * g3
Definition: WKSConstructionHeuristicTest.h:47
WKSConstructionHeuristicTest::f2
CvrStgFile * f2
Definition: WKSConstructionHeuristicTest.h:45
WKSConstructionHeuristicTest::s3
Selector * s3
Definition: WKSConstructionHeuristicTest.h:46
WKSConstructionHeuristicTest::s1
Selector * s1
Definition: WKSConstructionHeuristicTest.h:46
WKSConstructionHeuristicTest::WKSConstructionHeuristicTest
WKSConstructionHeuristicTest(TestSuite *s)
Definition: WKSConstructionHeuristicTest.cc:33
WKSConstructionHeuristicTest::ch3
WKSConstructionHeuristic * ch3
Definition: WKSConstructionHeuristicTest.h:48
UnitTest
Definition: UnitTest.h:38
WKSConstructionHeuristic
a heuristic algorithm for constructing a matching
Definition: WKSConstructionHeuristic.h:48
WKSConstructionHeuristicTest::gl1
Globals gl1
Definition: WKSConstructionHeuristicTest.h:50
Selector
a random permutation of a random combination
Definition: Selector.h:36
Matching
represent a matching on a graph
Definition: Matching.h:41
UnitTest.h
WKSConstructionHeuristicTest::ch1
WKSConstructionHeuristic * ch1
Definition: WKSConstructionHeuristicTest.h:48
WKSConstructionHeuristicTest::setup
void setup(void)
Definition: WKSConstructionHeuristicTest.cc:39
WKSConstructionHeuristicTest::gl2
Globals gl2
Definition: WKSConstructionHeuristicTest.h:50
TestSuite
Definition: TestSuite.h:31
BitString
a string of bits
Definition: BitString.h:42
WKSConstructionHeuristicTest::ch2
WKSConstructionHeuristic * ch2
Definition: WKSConstructionHeuristicTest.h:48
WKSConstructionHeuristicTest::cleanup
void cleanup(void)
Definition: WKSConstructionHeuristicTest.cc:82
TestSuite.h
WKSConstructionHeuristicTest::f1
CvrStgFile * f1
Definition: WKSConstructionHeuristicTest.h:45
WKSConstructionHeuristicTest::m3
Matching * m3
Definition: WKSConstructionHeuristicTest.h:49
WKSConstructionHeuristicTest::s2
Selector * s2
Definition: WKSConstructionHeuristicTest.h:46
WKSConstructionHeuristicTest::bs2
BitString * bs2
Definition: WKSConstructionHeuristicTest.h:44