@Test
public void decompress() throws FileNotFoundException, IOException
{
SnappyCompression compress = new SnappyCompression();
compress.decompressAndClose(new FileInputStream("/tmp/test1.snp"), new FileOutputStream("/tmp/compress-test-out-2.txt"));
String md1 = SystemUtils.md5(new File("/tmp/compress-test.txt"));
String md2 = SystemUtils.md5(new File("/tmp/compress-test-out-2.txt"));
assertEquals(md1, md2);
}
}