use of htsjdk.tribble.readers.LineReader in project gatk by broadinstitute.
the class TableCodecUnitTest method testDecodeComment.
@Test
public void testDecodeComment() {
TableCodec tc = new TableCodec();
LineReader reader = makeReader(asList("#HEADER a b c", "HEADER d e f"));
LineIterator li = new LineIteratorImpl(reader);
List<String> hd = tc.readActualHeader(li);
Assert.assertEquals(hd, asList("HEADER", "d", "e", "f"));
}
Aggregations