@Test
public void getOrbitTest() {

    Permutation p = new Permutation(4, 6, 1, 3, 2, 5, 0);
    List<Integer> orbit = p.getOrbit(1);
    Assert.assertEquals(5, orbit.size());
    Assert.assertTrue(orbit.contains(1));
}