/** Check the electron contribution is the same as expected. */ static void test(IAtomContainer m, int... expected) throws CDKException { AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(m); assertThat(model.contribution(m, new RingSearch(m)), is(expected)); } }
/** Check the electron contribution is the same as expected. */ static void test(IAtomContainer m, int... expected) throws CDKException { AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(m); assertThat(model.contribution(m, new RingSearch(m)), is(expected)); } }
/** Check the electron contribution is the same as expected. */ static void test(IAtomContainer m, int... expected) throws CDKException { AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(m); assertThat(model.contribution(m, new RingSearch(m)), is(expected)); } }
/** Check the electron contribution is the same as expected. */ static void test(IAtomContainer m, int... expected) throws CDKException { AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(m); assertThat(model.contribution(m, new RingSearch(m)), is(expected)); } }
final int[] electrons = model.contribution(molecule, ringSearch);