Ignore:
Timestamp:
Jan 16, 2009, 10:33:53 PM (12 years ago)
Author:
Jari Häkkinen
Message:

Addresses #425. Taking care of some special cases. No iterative test is need.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/normalization_test.cc

    r1728 r1735  
    150150  // Enough iteration will make all columns to have the same values as
    151151  // the target.
    152   suite.err() << "Testing that iterative normalization works\n";
     152  suite.err() << "Testing that q=matrix rows gives QuantileNormaliztion\n";
    153153  utility::Matrix m2(4,2);
    154154  m2(0,0) = 0; m2(0,1) = 10;
     
    159159  utility::Matrix result2(m2.rows(),m2.columns());
    160160  qqn2(m2,result2);
    161   for (int d=0; d<50; ++d)
    162     qqn2(result2,result2);
    163161  suite.add( suite.equal_fix(m2(0,0),result2(2,1),1.0e-12) &&
    164162             suite.equal_fix(m2(1,0),result2(3,1),1.0e-12) &&
Note: See TracChangeset for help on using the changeset viewer.