- Timestamp:
- Aug 20, 2014, 1:06:16 PM (11 years ago)
- Children:
- 0b517b
- Parents:
- ef3885
- git-author:
- Frederik Heber <heber@…> (07/12/14 11:57:54)
- git-committer:
- Frederik Heber <heber@…> (08/20/14 13:06:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.hpp
ref3885 r42c742 19 19 /********************************************** Test classes **************************************/ 20 20 21 class SphericalPointDistributionTest : public CppUnit::TestFixture 21 /** Template specialization needs to be in front of adding the test via CPPUNIT_TEST 22 * Hence,we put it in an extra class and inherit the functions. 23 */ 24 struct SphericalPointDistributionTest_assistant 22 25 { 26 public: 27 template <int N> 28 void getConnectionTest(); 29 }; 30 31 template <> void SphericalPointDistributionTest_assistant::getConnectionTest<0>(); 32 template <> void SphericalPointDistributionTest_assistant::getConnectionTest<1>(); 33 template <> void SphericalPointDistributionTest_assistant::getConnectionTest<2>(); 34 35 #include "SphericalPointDistributionUnitTest_assistant.hpp" 36 37 class SphericalPointDistributionTest : 38 public CppUnit::TestFixture, 39 public SphericalPointDistributionTest_assistant 40 { 41 42 private: 23 43 CPPUNIT_TEST_SUITE( SphericalPointDistributionTest) ; 24 44 CPPUNIT_TEST( calculateCenterOfMinimumDistanceTest ); 25 45 CPPUNIT_TEST ( areEqualToWithinBoundsTest ); 26 46 CPPUNIT_TEST ( joinPointsTest ); 47 CPPUNIT_TEST ( getConnectionTest<0> ); 48 CPPUNIT_TEST ( getConnectionTest<1> ); 49 CPPUNIT_TEST ( getConnectionTest<2> ); 50 CPPUNIT_TEST ( getConnectionTest<3> ); 51 CPPUNIT_TEST ( getConnectionTest<4> ); 52 CPPUNIT_TEST ( getConnectionTest<5> ); 53 CPPUNIT_TEST ( getConnectionTest<6> ); 54 CPPUNIT_TEST ( getConnectionTest<7> ); 55 CPPUNIT_TEST ( getConnectionTest<8> ); 56 CPPUNIT_TEST ( getConnectionTest<9> ); 57 CPPUNIT_TEST ( getConnectionTest<10> ); 58 CPPUNIT_TEST ( getConnectionTest<11> ); 59 CPPUNIT_TEST ( getConnectionTest<12> ); 60 CPPUNIT_TEST ( getConnectionTest<14> ); 27 61 CPPUNIT_TEST ( matchSphericalPointDistributionsTest_2 ); 28 62 CPPUNIT_TEST ( matchSphericalPointDistributionsTest_3 ); … … 32 66 CPPUNIT_TEST ( matchSphericalPointDistributionsTest_7 ); 33 67 CPPUNIT_TEST ( matchSphericalPointDistributionsTest_8 ); 34 CPPUNIT_TEST ( matchSphericalPointDistributionsTest_multiple );68 // CPPUNIT_TEST ( matchSphericalPointDistributionsTest_multiple ); 35 69 CPPUNIT_TEST_SUITE_END(); 36 70
Note:
See TracChangeset
for help on using the changeset viewer.
