*/
@Test
public void testAdaptiveSizePolicy() throws Exception {
InputStream in = getInputStream("SampleSun1_4_0AdaptiveSizePolicy.txt");
final DataReader reader = new DataReaderSun1_6_0(in, GcLogType.SUN1_4);
GCModel model = reader.read();
assertEquals("number of events", 9, model.getPause().getN());
assertEquals("number of full gcs", 3, model.getFullGCPause().getN());
assertEquals("number of gcs", 6, model.getGCPause().getN());
assertEquals("total pause", 0.1978746, model.getPause().getSum(), 0.000001);
assertEquals("full gc pause", 0.026889, model.getFullGCPause().getSum(), 0.000001);
assertEquals("gc pause", 0.1709856, model.getGCPause().getSum(), 0.000001);
}