@Test
public void testWeightDescriptor() throws Exception {

    Object[] params = {"*"};
    descriptor.setParameters(params);
    SmilesParser smilesParser = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = smilesParser.parseSmiles("CCC");
    Assert.assertEquals(44.095, ((DoubleResult) descriptor.calculate(mol).getValue()).doubleValue(), 0.001);
}