MCPcopy Create free account
hub / github.com/OpenGene/fastp / test

Method test

src/fastqreader.cpp:407–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407bool FastqReader::test(){
408 FastqReader reader1("testdata/R1.fq");
409 FastqReader reader2("testdata/R1.fq");
410 Read* r1 = NULL;
411 Read* r2 = NULL;
412 int i=0;
413 while(true){
414 i++;
415 r1=reader1.read();
416 r2=reader2.read();
417 if(r1 == NULL || r2==NULL)
418 break;
419 r1->print();
420 r2->print();
421 delete r1;
422 delete r2;
423 }
424 return true;
425}
426
427FastqReaderPair::FastqReaderPair(FastqReader* left, FastqReader* right){
428 mLeft = left;

Callers

nothing calls this directly

Calls 2

readMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected