@Test
@Category(SlowTest.class)
public void testDifferentStarts() throws  Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol1 = sp.parseSmiles("C=CCC=O");
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol1);
    addExplicitHydrogens(mol1);
    lpcheck.saturate(mol1);
    IAtomContainer mol2 = sp.parseSmiles("O=CCC=C");
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol2);
    addExplicitHydrogens(mol2);
    lpcheck.saturate(mol2);
    IAtomicDescriptor descriptor1 = new PartialPiChargeDescriptor();
    IAtomicDescriptor descriptor2 = new PartialPiChargeDescriptor();
    for (int i = 0; i < 5; i++) {
        double result1 = ((DoubleResult) descriptor1.calculate(mol1.getAtom(i), mol1).getValue()).doubleValue();
        double result2 = ((DoubleResult) descriptor2.calculate(mol2.getAtom(5 - i - 1), mol2).getValue())
                .doubleValue();
        Assert.assertFalse(Double.isNaN(result1));
        Assert.assertFalse(Double.isNaN(result2));
        Assert.assertEquals(result1, result2, 0.0001);
    }
}