@Test
public void toCycleStringTest() {

    int[] values = new int[]{0, 2, 1, 4, 5, 3, 7, 8, 9, 6};
    String expected = "(0)(1, 2)(3, 4, 5)(6, 7, 8, 9)";
    Permutation p = new Permutation(values);
    Assert.assertEquals(expected, p.toCycleString());
}