@Test
public void isDiscreteTest() {

    int size = 5;
    Partition p = new Partition();
    for (int i = 0; i < size; i++) {
        p.addSingletonCell(i);
    }
    Assert.assertTrue(p.isDiscrete());
}