EdgeIteratorTest.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef SH_EDGEITERATORTEST_H
00022
#define SH_EDGEITERATORTEST_H
00023
00024
#include "BitString.h"
00025
#include "CvrStgFile.h"
00026 #define private public
00027 #define protected public
00028
#include "Graph.h"
00029
#undef protected
00030
#undef private
00031
#include "EdgeIterator.h"
00032
#include "Selector.h"
00033
00034
#include "UnitTest.h"
00035
#include "TestSuite.h"
00036
00037 class EdgeIteratorTest :
public UnitTest {
00038
public:
00039
EdgeIteratorTest (
TestSuite* s) ;
00040
00041
void setup (
void) ;
00042
void cleanup (
void) ;
00043
00044
void testReferenceIteration (
void) ;
00045
void testIterationLength (
void) ;
00046
00047
private:
00048 BitString *
bs1, *
bs2 ;
00049 CvrStgFile *
f1, *
f2 ;
00050 Selector *
s1, *
s2 ;
00051 Graph *
g1, *
g2 ;
00052 Globals gl1,
gl2 ;
00053
00054 BitString *
bs10, *
bs11, *
bs12 ;
00055 CvrStgFile *
f10, *
f11, *
f12 ;
00056 Selector *
s10, *
s11, *
s12 ;
00057 Graph *
g10, *
g11, *
g12 ;
00058 Globals gl10,
gl11,
gl12 ;
00059
00060
bool genericTestGraphIteration (
Graph* g, EdgeIterator::ITERATIONMODE m) ;
00061
00065
bool genericTestVertexIteration (
Vertex* srcvertex, EdgeIterator::ITERATIONMODE m,
const std::vector<Edge*>& edges) ;
00066
00070
bool genericTestIterationLength (
Graph* g) ;
00071 } ;
00072
00073
#endif // ndef SH_EDGEITERATORTEST_H
Generated on Fri Jul 16 19:41:21 2004 for steghide by
1.3.7