Changeset bb50e0 for molecuilder/src


Ignore:
Timestamp:
Apr 26, 2010, 4:04:41 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
5a2599
Parents:
d1829c (diff), a3c47c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'FixAnalysisCorrelation_zeroinitallbins' into Analysis_PairCorrelation

Conflicts:

molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp

There have been conflicts due to shifted OutputCorrelation() and being commented-out in one commit, not in the other though.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp

    rd1829c rbb50e0  
    197197  // put pair correlation into bins and check with no range
    198198  binmap = BinData( surfacemap, 0.5, 0., 0. );
    199   CPPUNIT_ASSERT_EQUAL( (size_t)2, binmap->size() );
    200   OutputCorrelation ( (ofstream *)&cout, binmap );
     199  //OutputCorrelation ( (ofstream *)&cout, binmap );
     200  CPPUNIT_ASSERT_EQUAL( (size_t)9, binmap->size() );
    201201  // inside point is first and must have negative value
    202202  tester = binmap->lower_bound(4.25-0.5); // start depends on the min value and
     
    216216  // ... and check with [0., 2.] range
    217217  binmap = BinData( surfacemap, 0.5, -2., 4. );
     218  //OutputCorrelation ( (ofstream *)&cout, binmap );
    218219  CPPUNIT_ASSERT_EQUAL( (size_t)13, binmap->size() );
    219 //  OutputCorrelation ( (ofstream *)&cout, binmap );
    220220  // three outside points
    221221  tester = binmap->lower_bound(4.25-0.5);
Note: See TracChangeset for help on using the changeset viewer.