@Test
public void differentNumbers() {

    int[] communities = {10, 3, 4, 7, 6, 7, 10};
    assertEquals(5, LouvainUtils.normalize(communities));
    assertArrayEquals(new int[]{0, 1, 2, 3, 4, 3, 0}, communities);
}