@Test
public void getIndexOfFirstNonDiscreteCellTest() {

    int[][] cellData = new int[][]{{0}, {1}, {2, 3, 4}, {5, 6}};
    Partition p = new Partition(cellData);
    Assert.assertEquals(2, p.getIndexOfFirstNonDiscreteCell());
}