- Timestamp:
- Nov 4, 2009, 6:15:10 PM (16 years ago)
- Children:
- ec70ec
- Parents:
- 20895b
- git-author:
- Frederik Heber <heber@…> (11/04/09 18:11:09)
- git-committer:
- Frederik Heber <heber@…> (11/04/09 18:15:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
r20895b r5f1d021 186 186 CPPUNIT_ASSERT_EQUAL( 3, tester->second ); 187 187 // inner point 188 tester = binmap->lower_bound( 0.);188 tester = binmap->lower_bound(-0.5); 189 189 CPPUNIT_ASSERT( tester != binmap->end() ); 190 190 CPPUNIT_ASSERT_EQUAL( 1, tester->second ); … … 200 200 OutputCorrelation ( (ofstream *)&cout, binmap ); 201 201 // three outside points 202 tester = binmap-> find(3.);202 tester = binmap->lower_bound(3.); 203 203 CPPUNIT_ASSERT( tester != binmap->end() ); 204 204 CPPUNIT_ASSERT_EQUAL( 3, tester->second ); 205 205 // inner point 206 tester = binmap-> find(0.);206 tester = binmap->lower_bound(-0.5); 207 207 CPPUNIT_ASSERT( tester != binmap->end() ); 208 208 CPPUNIT_ASSERT_EQUAL( 1, tester->second );
Note:
See TracChangeset
for help on using the changeset viewer.
