steghide  0.5.1
SelectorTest.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_SELECTORTEST_H
22 #define SH_SELECTORTEST_H
23 
24 class Selector ;
25 
26 #include "UnitTest.h"
27 #include "TestSuite.h"
28 
29 class SelectorTest : public UnitTest {
30  public:
31  SelectorTest (TestSuite* s) ;
32 
33  void setup (void) ;
34  void cleanup (void) ;
35 
36  void testIsPermutation (void) ;
37  void testIsIdentityPermutation (void) ;
38 
39  private:
40  Selector *s1, *s2, *s3, *s4 ;
42 
45 } ;
46 
47 #endif // ndef SH_SELECTORTEST_H
SelectorTest::testIsPermutation
void testIsPermutation(void)
Definition: SelectorTest.cc:51
SelectorTest::testIsIdentityPermutation
void testIsIdentityPermutation(void)
Definition: SelectorTest.cc:59
Selector
a random permutation of a random combination
Definition: Selector.h:36
SelectorTest::sid1
Selector * sid1
Definition: SelectorTest.h:41
UnitTest
Definition: UnitTest.h:38
SelectorTest::genericTestIsPermutation
bool genericTestIsPermutation(Selector *s)
Definition: SelectorTest.cc:65
SelectorTest::SelectorTest
SelectorTest(TestSuite *s)
Definition: SelectorTest.cc:28
SelectorTest::s2
Selector * s2
Definition: SelectorTest.h:40
TestSuite.h
UnitTest.h
SelectorTest::sid2
Selector * sid2
Definition: SelectorTest.h:41
TestSuite
Definition: TestSuite.h:31
SelectorTest::genericTestIsIdentityPermutation
bool genericTestIsIdentityPermutation(Selector *s)
Definition: SelectorTest.cc:86
SelectorTest::s4
Selector * s4
Definition: SelectorTest.h:40
SelectorTest::setup
void setup(void)
Definition: SelectorTest.cc:35
SelectorTest::cleanup
void cleanup(void)
Definition: SelectorTest.cc:45
SelectorTest::s3
Selector * s3
Definition: SelectorTest.h:40
SelectorTest::s1
Selector * s1
Definition: SelectorTest.h:40
SelectorTest
Definition: SelectorTest.h:29