Ignore:
Timestamp:
May 25, 2016, 7:13:59 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
ec9bd2
Parents:
a52369
git-author:
Frederik Heber <heber@…> (07/12/14 19:07:44)
git-committer:
Frederik Heber <heber@…> (05/25/16 07:13:59)
Message:

recurseMatching() now takes connections into account.

  • matchSphericalPointDistribution() replaced by getRemainingPoints() as that describes what it does. match...() sounds symmetrical which the function is no longer as connection is associated with former _newpolygon.
  • SphericalPointDistribution now has internal points and adjacency, initialized by initSelf().
  • findBestMatching() and getRemainingPoints() are no longer static functions.
  • all unit tests are working again, including the .._multiple() that tests for joint points due to bond degree greater than 1.
  • the huge case switch in SaturatedFragment::saturateAtom() now resides in initSelf().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.hpp

    ra52369 r9cf90e  
    6161    CPPUNIT_TEST ( getConnectionTest<12> );
    6262    CPPUNIT_TEST ( getConnectionTest<14> );
    63     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_2 );
    64     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_3 );
    65     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_4 );
    66     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_5 );
    67     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_6 );
    68     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_7 );
    69     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_8 );
    70 //    CPPUNIT_TEST ( matchSphericalPointDistributionsTest_multiple );
     63    CPPUNIT_TEST ( getRemainingPointsTest_2 );
     64    CPPUNIT_TEST ( getRemainingPointsTest_3 );
     65    CPPUNIT_TEST ( getRemainingPointsTest_4 );
     66    CPPUNIT_TEST ( getRemainingPointsTest_5 );
     67    CPPUNIT_TEST ( getRemainingPointsTest_6 );
     68    CPPUNIT_TEST ( getRemainingPointsTest_7 );
     69    CPPUNIT_TEST ( getRemainingPointsTest_8 );
     70    CPPUNIT_TEST ( getRemainingPointsTest_multiple );
    7171    CPPUNIT_TEST_SUITE_END();
    7272
     
    7777      void areEqualToWithinBoundsTest();
    7878      void joinPointsTest();
    79       void matchSphericalPointDistributionsTest_2();
    80       void matchSphericalPointDistributionsTest_3();
    81       void matchSphericalPointDistributionsTest_4();
    82       void matchSphericalPointDistributionsTest_5();
    83       void matchSphericalPointDistributionsTest_6();
    84       void matchSphericalPointDistributionsTest_7();
    85       void matchSphericalPointDistributionsTest_8();
    86       void matchSphericalPointDistributionsTest_multiple();
     79      void getRemainingPointsTest_2();
     80      void getRemainingPointsTest_3();
     81      void getRemainingPointsTest_4();
     82      void getRemainingPointsTest_5();
     83      void getRemainingPointsTest_6();
     84      void getRemainingPointsTest_7();
     85      void getRemainingPointsTest_8();
     86      void getRemainingPointsTest_multiple();
    8787
    8888private:
Note: See TracChangeset for help on using the changeset viewer.