Skip to content

Commit

Permalink
undo inadvertent deletion of RANSInterop roundtrip test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-puligundla committed Nov 22, 2022
1 parent 2777c3a commit a2d9dad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/htsjdk/samtools/cram/RANSInteropTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ public void testRANSRoundTrip(
// by filtering out the embedded newlines, and then round trip through RANS and compare the
// results
final ByteBuffer uncompressedInteropBytes = ByteBuffer.wrap(filterEmbeddedNewlines(IOUtils.toByteArray(uncompressedInteropStream)));
final ByteBuffer compressedHtsjdkBytes = ransEncode.compress(uncompressedInteropBytes, params);
uncompressedInteropBytes.rewind();
Assert.assertEquals(ransDecode.uncompress(compressedHtsjdkBytes), uncompressedInteropBytes);
}
}

Expand Down

0 comments on commit a2d9dad

Please sign in to comment.