Ignore:
Timestamp:
Jul 22, 2008, 10:18:51 PM (13 years ago)
Author:
Peter
Message:

fixes #402 - constness conversion in StrideIterator?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r1382 r1386  
    117117  suite.add(data_iter2 == data_iter5);
    118118  suite.add(data_iter4 == data_iter5);
     119  utility::StrideIterator<std::vector<double>::const_iterator> stride_ci(c_iter);
     120  utility::StrideIterator<std::vector<double>::iterator> stride_i(iter);
     121  suite.add(stride_ci==stride_i);
     122  suite.add(stride_i==stride_ci);
    119123
    120124  utility::MatrixWeighted x_weighted(3,4);
     
    124128  *(x_weighted.begin()+1) = element;
    125129  double element_data = *make_data_iterator(x_weighted.begin());
     130  suite.add(element_data==x_weighted.begin()->data());
    126131
    127132  classifier::MatrixLookup ml(m);
Note: See TracChangeset for help on using the changeset viewer.