SegFault_gcc4.6
      
      
        
          | 
            Last change
 on this file since 15c75f8 was             0275ad, checked in by Frederik Heber <heber@…>, 15 years ago           | 
        
        
          | 
             
Final step in Random numbers is done ... 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            937 bytes
           | 
        
      
      
| Line |   | 
|---|
| 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 | 
 | 
|---|
| 19 | class RandomNumberDistribution;
 | 
|---|
| 20 | 
 | 
|---|
| 21 | class RandomNumberDistributionFactoryTest : public CppUnit::TestFixture
 | 
|---|
| 22 | {
 | 
|---|
| 23 |   CPPUNIT_TEST_SUITE( RandomNumberDistributionFactoryTest );
 | 
|---|
| 24 |   CPPUNIT_TEST ( DistributionTest );
 | 
|---|
| 25 |   CPPUNIT_TEST ( PrototypeManipulationTest );
 | 
|---|
| 26 |   CPPUNIT_TEST_SUITE_END();
 | 
|---|
| 27 | 
 | 
|---|
| 28 | public:
 | 
|---|
| 29 |   void setUp();
 | 
|---|
| 30 |   void tearDown();
 | 
|---|
| 31 | 
 | 
|---|
| 32 |   void DistributionTest();
 | 
|---|
| 33 |   void PrototypeManipulationTest();
 | 
|---|
| 34 | 
 | 
|---|
| 35 | private:
 | 
|---|
| 36 |   RandomNumberDistribution * rndA;
 | 
|---|
| 37 |   RandomNumberDistribution * rndA_1;
 | 
|---|
| 38 |   RandomNumberDistribution * rndA_2;
 | 
|---|
| 39 |   RandomNumberDistribution * rndA_3;
 | 
|---|
| 40 | };
 | 
|---|
| 41 | 
 | 
|---|
| 42 | #endif /* RANDOMNUMBERDISTRIBUTIONFACTORYUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.