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 Jan 12, 2023
1 parent 8464eb7 commit 7e06b5d
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 7e06b5d

Please sign in to comment.