source:
src/RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.hpp@
fba720
Last change on this file since fba720 was 0275ad, checked in by , 14 years ago | |
---|---|
|
|
File size: 937 bytes |
Rev | Line | |
---|---|---|
[c9bc2b7] | 1 | /* |
2 | * RandomNumberDistributionFactoryUnitTest.hpp | |
3 | * | |
4 | * Created on: Jan 03, 2011 | |
5 | * Author: heber | |
6 | */ | |
7 | ||
8 | #ifndef RANDOMNUMBERDISTRIBUTIONFACTORYUNITTEST_HPP_ | |
9 | #define RANDOMNUMBERDISTRIBUTIONFACTORYUNITTEST_HPP_ | |
10 | ||
11 | // include config.h | |
12 | #ifdef HAVE_CONFIG_H | |
13 | #include <config.h> | |
14 | #endif | |
15 | ||
16 | ||
17 | #include <cppunit/extensions/HelperMacros.h> | |
18 | ||
[9b3476] | 19 | class RandomNumberDistribution; |
20 | ||
[c9bc2b7] | 21 | class RandomNumberDistributionFactoryTest : public CppUnit::TestFixture |
22 | { | |
23 | CPPUNIT_TEST_SUITE( RandomNumberDistributionFactoryTest ); | |
24 | CPPUNIT_TEST ( DistributionTest ); | |
[0275ad] | 25 | CPPUNIT_TEST ( PrototypeManipulationTest ); |
[c9bc2b7] | 26 | CPPUNIT_TEST_SUITE_END(); |
27 | ||
28 | public: | |
29 | void setUp(); | |
30 | void tearDown(); | |
31 | ||
32 | void DistributionTest(); | |
[0275ad] | 33 | void PrototypeManipulationTest(); |
[c9bc2b7] | 34 | |
35 | private: | |
[9b3476] | 36 | RandomNumberDistribution * rndA; |
37 | RandomNumberDistribution * rndA_1; | |
38 | RandomNumberDistribution * rndA_2; | |
[0275ad] | 39 | RandomNumberDistribution * rndA_3; |
[c9bc2b7] | 40 | }; |
41 | ||
42 | #endif /* RANDOMNUMBERDISTRIBUTIONFACTORYUNITTEST_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.