Changeset a3c47c for molecuilder
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
rb1c92e ra3c47c 181 181 // put pair correlation into bins and check with no range 182 182 binmap = BinData( surfacemap, 0.5, 0., 0. ); 183 CPPUNIT_ASSERT_EQUAL( (size_t)2, binmap->size() );184 183 OutputCorrelation ( (ofstream *)&cout, binmap ); 184 CPPUNIT_ASSERT_EQUAL( (size_t)9, binmap->size() ); 185 185 // inside point is first and must have negative value 186 186 tester = binmap->lower_bound(2.95); // start depends on the min value and … … 199 199 // ... and check with [0., 2.] range 200 200 binmap = BinData( surfacemap, 0.5, -2., 4. ); 201 OutputCorrelation ( (ofstream *)&cout, binmap ); 201 202 CPPUNIT_ASSERT_EQUAL( (size_t)13, binmap->size() ); 202 OutputCorrelation ( (ofstream *)&cout, binmap );203 203 // three outside points 204 204 tester = binmap->lower_bound(3.);
Note:
See TracChangeset
for help on using the changeset viewer.