PermutationGroup { public int getSize() { return size; } PermutationGroup(int size);  PermutationGroup(Permutation base);  PermutationGroup(int size, List<Permutation> generators); static PermutationGroup makeSymN(int size); int getSize(); long order(); Permutation get(int uIndex, int uSubIndex); List<Permutation> getLeftTransversal(int index); List<Permutation> transversal(final PermutationGroup subgroup); void apply(Backtracker backtracker); List<Permutation> all(); void changeBase(Permutation newBase); void enter(Permutation g); int test(Permutation permutation); @Override String toString();  }
@Test public void sizeConstructor() { int size = 4; PermutationGroup group = new PermutationGroup(size); Assert.assertEquals(size, group.getSize()); }
@Test public void baseConstructor() { int size = 4; Permutation base = new Permutation(size); PermutationGroup group = new PermutationGroup(base); Assert.assertEquals(size, group.getSize()); }
@Test public void getSizeTest() { int size = 4; PermutationGroup group = new PermutationGroup(size); Assert.assertEquals(size, group.getSize()); }