Ignore:
Timestamp:
Oct 25, 2014, 1:27:45 AM (7 years ago)
Author:
Peter
Message:

closes #816

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/cigar_iterator.cc

    r3329 r3336  
    2424#include "Suite.h"
    2525
    26 #include "yat/omic/CigarIterator.h"
    2726#include "yat/utility/Cigar.h"
     27#include "yat/utility/CigarIterator.h"
    2828
    2929#include <boost/cstdint.hpp>
     
    7272  }
    7373
    74   omic::CigarIterator iter(&*cigar.begin());
    75   omic::CigarIterator end(&*cigar.end());
     74  typedef std::vector<uint32_t>::const_iterator Base;
     75  utility::CigarIterator<Base> iter(cigar.begin());
     76  utility::CigarIterator<Base> end(cigar.end());
    7677  std::vector<uint32_t>::const_iterator iter2 = long_cigar.begin();
    7778  while (iter!=end) {
     
    8687  }
    8788
    88   omic::CigarIterator iter3(&*cigar.begin());
    89   omic::CigarIterator iter4(&*cigar.begin()+3, 1);
     89  utility::CigarIterator<Base> iter3(cigar.begin());
     90  utility::CigarIterator<Base> iter4(cigar.begin()+3, 1);
    9091  std::advance(iter3, oplen[0]+oplen[1]+oplen[2]+1);
    9192  if (iter3 != iter4) {
Note: See TracChangeset for help on using the changeset viewer.