@Test
public void testHAddition() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("C=1C=CC(=CC1)CNC2=CC=C(C=C2N(=O)=O)S(=O)(=O)C(Cl)(Cl)Br");
    DoubleArrayResult result1 = (DoubleArrayResult) descriptor.calculate(mol).getValue();
    for (int i = 0; i < result1.length(); i++)
        Assert.assertTrue(result1.get(i) != Double.NaN);
}