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
24class Selector ;
25
26#include "UnitTest.h"
27#include "TestSuite.h"
28
29class SelectorTest : public UnitTest {
30 public:
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
Definition SelectorTest.h:29
void setup(void)
Definition SelectorTest.cc:35
Selector * s3
Definition SelectorTest.h:40
bool genericTestIsIdentityPermutation(Selector *s)
Definition SelectorTest.cc:86
Selector * sid1
Definition SelectorTest.h:41
Selector * s4
Definition SelectorTest.h:40
Selector * s2
Definition SelectorTest.h:40
bool genericTestIsPermutation(Selector *s)
Definition SelectorTest.cc:65
void cleanup(void)
Definition SelectorTest.cc:45
void testIsPermutation(void)
Definition SelectorTest.cc:51
void testIsIdentityPermutation(void)
Definition SelectorTest.cc:59
Selector * s1
Definition SelectorTest.h:40
Selector * sid2
Definition SelectorTest.h:41
a random permutation of a random combination
Definition Selector.h:36
Definition TestSuite.h:31
Definition UnitTest.h:38