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