@Test public void testIndependence() throws IOException, StructureException { String[] names = new String[] {"1hiv.A", "4i4q", "1n0r.A"}; int[] orders = new int[] {2, 3, 4}; for (int i = 0; i < names.length; i++) { Structure s = StructureTools.getStructure(names[i]); Atom[] atoms = StructureTools.getRepresentativeAtomArray(s); CeSymmResult result = CeSymm.analyze(atoms); assertTrue(result.isSignificant()); assertEquals(result.getSymmOrder(), orders[i]); } }