Ignore:
Timestamp:
Jan 17, 2010, 2:43:38 AM (13 years ago)
Author:
Peter
Message:

fixes #581

added archetype classes for concepts Container2D and Mutable
Container2D in namespace test. Using these to test ColumnNormalizer?
and RowNormalizer?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/normalization_test.cc

    r2146 r2147  
    129129  suite.err() << "Testing m(1,1)\n";
    130130  suite.add(suite.equal(m(1,1), -3));
     131
     132  if (false) { // do not run compile tests
     133    test::container2d_archetype<double> container2d;
     134    test::mutable_container2d_archetype<double> mutable_container2d;
     135    qn(container2d, mutable_container2d);
     136  }
    131137}
    132138
     
    286292  m2.transpose();
    287293  suite.equal_range(m.begin(), m.end(), m2.begin());
     294  if (false) { // do not run compile tests
     295    test::container2d_archetype<double> container2d;
     296    test::mutable_container2d_archetype<double> mutable_container2d;
     297    rn(container2d, mutable_container2d);
     298  }
    288299}
    289300
Note: See TracChangeset for help on using the changeset viewer.