Ignore:
Timestamp:
Feb 25, 2008, 10:03:48 PM (14 years ago)
Author:
Peter
Message:

DataLookup1D is now a lookup into a MatrixLookup? closes #327

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r1138 r1146  
    9494    ok = false;
    9595
     96  classifier::MatrixLookup ml(m);
     97  classifier::DataLookup1D dl1(ml,0,true);
     98  if (dl1.begin()!=ml.begin_row(0))
     99    ok = false;
     100  if (dl1.end()!=ml.end_row(0))
     101    ok = false;
     102  classifier::DataLookup1D dl2(ml,0,false);
     103  if (dl2.begin()!=ml.begin_column(0))
     104    ok = false;
     105  if (dl2.end()!=ml.end_column(0))
     106    ok = false;
     107
    96108  if (!ok)
    97109    *message << "iterator test failed" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.