| 
            Last change
 on this file since 9e7089 was             dd067a, checked in by Frederik Heber <heber@…>, 14 years ago           | 
        
        
          | 
             
Add new namespace BoundaryConditions with class BCContainer. 
 
- BCContainer is a convenience wrapper for the enumeration of the boundary
conditions that allows easy setting/getting via strings.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            791 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [dd067a] | 1 | /*
 | 
|---|
 | 2 |  * Box_BoundaryConditionsUnitTest.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Jan 2, 2012
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef BOXUNITTEST_HPP_
 | 
|---|
 | 9 | #define BOXUNITTEST_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 Box_BoundaryConditionsTest : public CppUnit::TestFixture
 | 
|---|
 | 20 | {
 | 
|---|
 | 21 |   CPPUNIT_TEST_SUITE( Box_BoundaryConditionsTest );
 | 
|---|
 | 22 |   CPPUNIT_TEST ( getTest );
 | 
|---|
 | 23 |   CPPUNIT_TEST ( setTest );
 | 
|---|
 | 24 |   CPPUNIT_TEST ( outputTest );
 | 
|---|
 | 25 |   CPPUNIT_TEST ( converterTest );
 | 
|---|
 | 26 |   CPPUNIT_TEST ( inputTest );
 | 
|---|
 | 27 |   CPPUNIT_TEST_SUITE_END();
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | public:
 | 
|---|
 | 30 |   void setUp();
 | 
|---|
 | 31 |   void tearDown();
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 |   void getTest();
 | 
|---|
 | 34 |   void setTest();
 | 
|---|
 | 35 |   void outputTest();
 | 
|---|
 | 36 |   void converterTest();
 | 
|---|
 | 37 |   void inputTest();
 | 
|---|
 | 38 | 
 | 
|---|
 | 39 | private:
 | 
|---|
 | 40 |   BoundaryConditions::BCContainer *bc;
 | 
|---|
 | 41 | };
 | 
|---|
 | 42 | 
 | 
|---|
 | 43 | #endif /* BOXUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.