Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/unittests/AnalysisCorrelationToPointUnitTest.cpp

    r3d9df5 re138de  
    1111#include <cppunit/extensions/TestFactoryRegistry.h>
    1212#include <cppunit/ui/text/TestRunner.h>
    13 
    14 #include <cstring>
    1513
    1614#include "analysis_correlation.hpp"
     
    118116  // put pair correlation into bins and check with no range
    119117  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 );
    122120  tester = binmap->begin();
    123121  CPPUNIT_ASSERT_EQUAL( 1., tester->first );
     
    131129  // ... and check with [0., 2.] range
    132130  binmap = BinData( pointmap, 0.5, 0., 2. );
    133   OutputCorrelation ( (ofstream *)&cout, binmap );
    134131  CPPUNIT_ASSERT_EQUAL( (size_t)5, binmap->size() );
     132  //OutputCorrelation ( binmap );
    135133  tester = binmap->begin();
    136134  CPPUNIT_ASSERT_EQUAL( 0., tester->first );
Note: See TracChangeset for help on using the changeset viewer.