@Test
public void testDefaultSetting() throws Exception {

    IMolecularDescriptor descriptor = new BondCountDescriptor();
    IAtomContainer mol = sp.parseSmiles("CCO"); // ethanol
    Assert.assertEquals(2, ((IntegerResult) descriptor.calculate(mol).getValue()).intValue());
    mol = sp.parseSmiles("C=C=C");
    Assert.assertEquals(2, ((IntegerResult) descriptor.calculate(mol).getValue()).intValue());
    mol = sp.parseSmiles("CC=O");
    Assert.assertEquals(2, ((IntegerResult) descriptor.calculate(mol).getValue()).intValue());
    mol = sp.parseSmiles("CC#N");
    Assert.assertEquals(2, ((IntegerResult) descriptor.calculate(mol).getValue()).intValue());
}