Changes in / [3b9e34:ee7e25]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
r3b9e34 ree7e25 197 197 // put pair correlation into bins and check with no range 198 198 binmap = BinData( surfacemap, 0.5, 0., 0. ); 199 //OutputCorrelation ( (ofstream *)&cout, binmap);200 CPPUNIT_ASSERT_EQUAL( (size_t)9, binmap->size());199 CPPUNIT_ASSERT_EQUAL( (size_t)2, binmap->size() ); 200 OutputCorrelation ( (ofstream *)&cout, binmap ); 201 201 // inside point is first and must have negative value 202 202 tester = binmap->lower_bound(4.25-0.5); // start depends on the min value and … … 216 216 // ... and check with [0., 2.] range 217 217 binmap = BinData( surfacemap, 0.5, -2., 4. ); 218 //OutputCorrelation ( (ofstream *)&cout, binmap );219 218 CPPUNIT_ASSERT_EQUAL( (size_t)13, binmap->size() ); 219 // OutputCorrelation ( (ofstream *)&cout, binmap ); 220 220 // three outside points 221 221 tester = binmap->lower_bound(4.25-0.5);
Note:
See TracChangeset
for help on using the changeset viewer.