@Test
public void sizeTest() {

    Partition p = new Partition();
    p.addCell(0, 1);
    p.addCell(2, 3);
    Assert.assertEquals(2, p.size());
    Assert.assertEquals(2, p.getCell(0).size());
    Assert.assertEquals(2, p.getCell(1).size());
}