Changeset 2289


Ignore:
Timestamp:
Jun 28, 2010, 5:00:41 AM (11 years ago)
Author:
Peter
Message:

adding test, refs #623

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r2282 r2289  
    2626
    2727#include "yat/classifier/DataLookupWeighted1D.h"
     28#include "yat/classifier/KernelLookup.h"
    2829#include "yat/classifier/MatrixLookup.h"
    2930#include "yat/classifier/MatrixLookupWeighted.h"
     
    427428    double x = *iter;
    428429    x *= 2; // avoid compiler warning
     430
     431    // ticket #623
     432    typedef utility::Container2DIterator<const classifier::KernelLookup,
     433      double, const double> c2dIter;
     434    BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<c2dIter>));
     435
     436    typedef StrideIterator<c2dIter> StrideIter;
     437    #ifdef YAT_TICKET_623
     438    BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<StrideIter>));
     439    #endif
    429440  }
    430441}
Note: See TracChangeset for help on using the changeset viewer.