- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/unittests/AnalysisCorrelationToPointUnitTest.cpp
r3d9df5 re138de 11 11 #include <cppunit/extensions/TestFactoryRegistry.h> 12 12 #include <cppunit/ui/text/TestRunner.h> 13 14 #include <cstring>15 13 16 14 #include "analysis_correlation.hpp" … … 118 116 // put pair correlation into bins and check with no range 119 117 binmap = BinData( pointmap, 0.5, 0., 0. ); 120 OutputCorrelation ( (ofstream *)&cout, binmap);121 CPPUNIT_ASSERT_EQUAL( (size_t)3, binmap->size());118 CPPUNIT_ASSERT_EQUAL( (size_t)2, binmap->size() ); 119 //OutputCorrelation ( binmap ); 122 120 tester = binmap->begin(); 123 121 CPPUNIT_ASSERT_EQUAL( 1., tester->first ); … … 131 129 // ... and check with [0., 2.] range 132 130 binmap = BinData( pointmap, 0.5, 0., 2. ); 133 OutputCorrelation ( (ofstream *)&cout, binmap );134 131 CPPUNIT_ASSERT_EQUAL( (size_t)5, binmap->size() ); 132 //OutputCorrelation ( binmap ); 135 133 tester = binmap->begin(); 136 134 CPPUNIT_ASSERT_EQUAL( 0., tester->first );
Note:
See TracChangeset
for help on using the changeset viewer.
