Changeset 3150


Ignore:
Timestamp:
Dec 23, 2013, 7:03:50 AM (7 years ago)
Author:
Peter
Message:

test that BamWriteIterator? fulfills requirements defined in Suite::test_output_iterator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/bam_iterator.cc

    r2986 r3150  
    118118  std::string outname("bam_iterator.bam");
    119119  OutBamFile out(outname, in.header());
    120   std::copy(BamReadIterator(in), BamReadIterator(), BamWriteIterator(out));
     120  BamWriteIterator bam_out(out);
     121  std::copy(BamReadIterator(in), BamReadIterator(), bam_out);
     122  if (false) // avoid running; only compile
     123    suite.test_output_iterator(bam_out);
    121124  out.close();
    122125
     
    147150  in.close();
    148151  unlink(outname.c_str());
     152
    149153}
    150154#endif
Note: See TracChangeset for help on using the changeset viewer.