- Timestamp:
- Nov 4, 2009, 7:56:04 PM (16 years ago)
- Children:
- 4ef101, aa8542
- Parents:
- ec70ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/AnalysisCorrelationToPointUnitTest.cpp
rec70ec r543ce4 82 82 83 83 // init maps 84 pointmap = CorrelationToPoint( ( ofstream *)&cout, (MoleculeListClass * const)TestList, (const element * const)hydrogen, (const Vector *)point );84 pointmap = CorrelationToPoint( (MoleculeListClass * const)TestList, (const element * const)hydrogen, (const Vector *)point ); 85 85 binmap = NULL; 86 86 … … 115 115 BinPairMap::iterator tester; 116 116 // put pair correlation into bins and check with no range 117 binmap = BinData( (ofstream *)&cout,pointmap, 0.5, 0., 0. );117 binmap = BinData( pointmap, 0.5, 0., 0. ); 118 118 CPPUNIT_ASSERT_EQUAL( (size_t)2, binmap->size() ); 119 //OutputCorrelation ( (ofstream *)&cout,binmap );119 //OutputCorrelation ( binmap ); 120 120 tester = binmap->begin(); 121 121 CPPUNIT_ASSERT_EQUAL( 1., tester->first ); … … 128 128 BinPairMap::iterator tester; 129 129 // ... and check with [0., 2.] range 130 binmap = BinData( (ofstream *)&cout,pointmap, 0.5, 0., 2. );130 binmap = BinData( pointmap, 0.5, 0., 2. ); 131 131 CPPUNIT_ASSERT_EQUAL( (size_t)5, binmap->size() ); 132 //OutputCorrelation ( (ofstream *)&cout,binmap );132 //OutputCorrelation ( binmap ); 133 133 tester = binmap->begin(); 134 134 CPPUNIT_ASSERT_EQUAL( 0., tester->first );
Note:
See TracChangeset
for help on using the changeset viewer.
