package org.broad.igv.sam.lite;

import org.broad.igv.util.FileUtils;
import org.broad.igv.util.TestUtils;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by jrobinso on 3/10/17.
 */
public class BGUnzipTest {

    @Test
    public void blockUnzip() throws Exception {

//        String bgzFile = TestUtils.DATA_DIR + "/bgz/BCOST.gz";
//
//        byte[] compressed = FileUtils.readFully(bgzFile);
//
//      //  byte[] uncompressed = BGUnzip.blockUnzip(compressed, 0);
//
//        String str = new String(uncompressed);
//
//        assertTrue(str.startsWith("Hi"));
//        assertTrue(str.endsWith("67890\n"));

    }


}
