@Test
public void testValidate_IMolecularFormula_double() throws ClassNotFoundException, CDKException, Exception {

    RDBERule rule = new RDBERule();
    IMolecularFormula formula = MolecularFormulaManipulator.getMajorIsotopeMolecularFormula("C2H4", builder);
    Assert.assertTrue(rule.validate(formula, 2.0));
}