assertEquals(NO_CODE, c.getStatus(11), 0.0);
}
@Test
public void testInitCovered() {
ILines c = new LinesImpl(new int[] { 5, 7, 10 }, true);
assertEquals(3, c.getTotalCount(), 0.0);
assertEquals(3, c.getCoveredCount(), 0.0);
assertEquals(5, c.getFirstLine(), 0.0);
assertEquals(10, c.getLastLine(), 0.0);
assertEquals(NO_CODE, c.getStatus(4), 0.0);
assertEquals(FULLY_COVERED, c.getStatus(5), 0.0);
assertEquals(NO_CODE, c.getStatus(6), 0.0);
assertEquals(FULLY_COVERED, c.getStatus(7), 0.0);
assertEquals(NO_CODE, c.getStatus(8), 0.0);
assertEquals(NO_CODE, c.getStatus(9), 0.0);
assertEquals(FULLY_COVERED, c.getStatus(10), 0.0);
assertEquals(NO_CODE, c.getStatus(11), 0.0);
}