IsotopePatternRule implements IRule { public IsotopePatternRule() { isotopeGe = new IsotopePatternGenerator(0.01); is = new IsotopePatternSimilarity(); is.seTolerance(toleranceMass); } IsotopePatternRule(); @Override void setParameters(Object[] params); @Override Object[] getParameters(); @Override double validate(IMolecularFormula formula);  }
@Test public void testIsotopePatternRule() throws Exception { IRule rule = new IsotopePatternRule(); Assert.assertNotNull(rule); }