*/
@Test
public void testAdaptiveSizePolicy() throws Exception {
final InputStream in = getInputStream("SampleSun1_5_0AdaptiveSizePolicy.txt");
final DataReader reader = new DataReaderSun1_6_0(in, GcLogType.SUN1_5);
GCModel model = reader.read();
assertEquals("number of events", 6, model.getPause().getN());
assertEquals("number of full gcs", 1, model.getFullGCPause().getN());
assertEquals("number of gcs", 5, model.getGCPause().getN());
assertEquals("total pause", 0.1024222, model.getPause().getSum(), 0.000001);
assertEquals("full gc pause", 0.0583435, model.getFullGCPause().getSum(), 0.000001);
assertEquals("gc pause", 0.0440787, model.getGCPause().getSum(), 0.000001);
}