@Test
public void testIsInside() {

    DayClustering cl0 = DayClustering.create(new int[]{0,1,1,1,1,1,0});
    DayClustering cl1 = DayClustering.create(new int[]{0,2,2,2,2,2,1});
    DayClustering cl2 = DayClustering.create(new int[]{0,1,2,3,4,5,6});
    DayClustering cl3 = DayClustering.create(new int[]{0,1,2,0,2,3,3});
    DayClustering cl4 = DayClustering.create(new int[]{0,1,2,2,2,3,0});
    assertTrue(cl0.isInside(cl1));
    assertTrue(cl1.isInside(cl2));
    assertTrue(cl3.isInside(cl2));
    assertTrue(!cl4.isInside(cl0));
    assertTrue(cl0.isInside(cl4));
}