We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2777c3a commit a2d9dadCopy full SHA for a2d9dad
src/test/java/htsjdk/samtools/cram/RANSInteropTest.java
@@ -163,6 +163,9 @@ public void testRANSRoundTrip(
163
// by filtering out the embedded newlines, and then round trip through RANS and compare the
164
// results
165
final ByteBuffer uncompressedInteropBytes = ByteBuffer.wrap(filterEmbeddedNewlines(IOUtils.toByteArray(uncompressedInteropStream)));
166
+ final ByteBuffer compressedHtsjdkBytes = ransEncode.compress(uncompressedInteropBytes, params);
167
+ uncompressedInteropBytes.rewind();
168
+ Assert.assertEquals(ransDecode.uncompress(compressedHtsjdkBytes), uncompressedInteropBytes);
169
}
170
171
0 commit comments