Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since e9f307 was             c40e15d, checked in by Frederik Heber <heber@…>, 13 years ago | 
        
          | 
Added Summation, Summator, and printSum for non-orthogonal Summation.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            849 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * SummationUnitTest.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Jun 30, 2012 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef SUMMATIONUNITTEST_HPP_ | 
|---|
| 9 | #define SUMMATIONUNITTEST_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 | #include "Fragmentation/Summation/IndexSetContainer.hpp" | 
|---|
| 20 | #include "Fragmentation/Summation/SubsetMap.hpp" | 
|---|
| 21 |  | 
|---|
| 22 |  | 
|---|
| 23 | /********************************************** Test classes **************************************/ | 
|---|
| 24 |  | 
|---|
| 25 | class SummationTest : public CppUnit::TestFixture | 
|---|
| 26 | { | 
|---|
| 27 | CPPUNIT_TEST_SUITE( SummationTest) ; | 
|---|
| 28 | CPPUNIT_TEST ( operator_staticTest ); | 
|---|
| 29 | CPPUNIT_TEST_SUITE_END(); | 
|---|
| 30 |  | 
|---|
| 31 | public: | 
|---|
| 32 | void setUp(); | 
|---|
| 33 | void tearDown(); | 
|---|
| 34 | void operator_staticTest(); | 
|---|
| 35 |  | 
|---|
| 36 | private: | 
|---|
| 37 | SubsetMap::ptr subsetmap; | 
|---|
| 38 | IndexSetContainer::ptr container; | 
|---|
| 39 | }; | 
|---|
| 40 |  | 
|---|
| 41 | #endif /* SUMMATIONUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.