/** Test of getEnergies method, of class BondEnergies. */ @Test public void testGetEnergies() { IAtom sourceAtom = new Atom("C"); IAtom targetAtom = new Atom("C"); Order bondOrder = Order.SINGLE; BondEnergies instance = new BondEnergies(); Integer expResult = 346; Integer result = instance.getEnergies(sourceAtom, targetAtom, bondOrder); Assert.assertEquals(expResult, result); }
@Test public void testGetInstance() throws Exception { BondEnergies energies = BondEnergies.getInstance(); Assert.assertNotNull(energies); }