@Test
public void testEffectivePolarizabilityDescriptor() throws ClassNotFoundException, CDKException,
        java.lang.Exception {

    double[] testResult = {4.7253, 6.1345, 6.763, 6.925, 5.41, 5.41};
    IAtomicDescriptor descriptor = new EffectiveAtomPolarizabilityDescriptor();
    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("NCCN(C)(C)");
    addExplicitHydrogens(mol);
    for (int i = 0; i < 6; i++) {
        double result = ((DoubleResult) descriptor.calculate(mol.getAtom(i), mol).getValue()).doubleValue();
        Assert.assertEquals(testResult[i], result, 0.01);
    }
}