Ignore:
Timestamp:
Nov 4, 2009, 7:56:04 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
4ef101, aa8542
Parents:
ec70ec
Message:

Huge change from ofstream * (const) out --> Log().

  • first shift was done via regular expressions
  • then via error messages from the code
  • note that class atom, class element and class molecule kept in parts their output stream, was they print to file.
  • make check runs fine
  • MISSING: Verbosity is not fixed for everything (i.e. if no endl; is present and next has Verbose(0) ...)

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/AnalysisCorrelationToPointUnitTest.cpp

    rec70ec r543ce4  
    8282
    8383  // 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 );
    8585  binmap = NULL;
    8686
     
    115115  BinPairMap::iterator tester;
    116116  // 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. );
    118118  CPPUNIT_ASSERT_EQUAL( (size_t)2, binmap->size() );
    119   //OutputCorrelation ( (ofstream *)&cout, binmap );
     119  //OutputCorrelation ( binmap );
    120120  tester = binmap->begin();
    121121  CPPUNIT_ASSERT_EQUAL( 1., tester->first );
     
    128128  BinPairMap::iterator tester;
    129129  // ... and check with [0., 2.] range
    130   binmap = BinData( (ofstream *)&cout, pointmap, 0.5, 0., 2. );
     130  binmap = BinData( pointmap, 0.5, 0., 2. );
    131131  CPPUNIT_ASSERT_EQUAL( (size_t)5, binmap->size() );
    132   //OutputCorrelation ( (ofstream *)&cout, binmap );
     132  //OutputCorrelation ( binmap );
    133133  tester = binmap->begin();
    134134  CPPUNIT_ASSERT_EQUAL( 0., tester->first );
Note: See TracChangeset for help on using the changeset viewer.