@Test
@Category(SlowTest.class)
public void testPartialTChargeDescriptor_FormicAcid() throws ClassNotFoundException, CDKException,
        java.lang.Exception {

    double[] testResult = {0.2672, -0.3877, -0.2365, 0.1367, 0.2203};/*
                                                                      * from
                                                                      * Petra
                                                                      * online
                                                                      * :
                                                                      * http
                                                                      * :
                                                                      * //www2
                                                                      * .
                                                                      * chemie
                                                                      * .
                                                                      * uni-
                                                                      * erlangen
                                                                      * .de/
                                                                      * services
                                                                      * /
                                                                      * petra
                                                                      * /
                                                                      * smiles
                                                                      * .
                                                                      * phtml
                                                                      */
    IAtomicDescriptor descriptor = new PartialTChargePEOEDescriptor();
    IAtomContainer molecule = builder.newInstance(IAtomContainer.class);
    molecule.addAtom(builder.newInstance(IAtom.class, "C"));
    molecule.addAtom(builder.newInstance(IAtom.class, "O"));
    molecule.addBond(0, 1, IBond.Order.DOUBLE);
    molecule.addAtom(builder.newInstance(IAtom.class, "O"));
    molecule.addBond(0, 2, IBond.Order.SINGLE);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(molecule);
    addExplicitHydrogens(molecule);
    lpcheck.saturate(molecule);
    for (int i = 0; i < molecule.getAtomCount(); i++) {
        double result = ((DoubleResult) descriptor.calculate(molecule.getAtom(i), molecule).getValue())
                .doubleValue();
        Assert.assertEquals(testResult[i], result, 0.05);
    }
}