File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 88
99import org .hamcrest .number .IsCloseTo ;
1010import org .junit .Test ;
11- import org .openscience .cdk .exception .CDKException ;
1211import org .openscience .cdk .interfaces .IAtomContainer ;
1312import org .openscience .cdk .io .MDLV2000Reader ;
1413import org .openscience .cdk .silent .SilentChemObjectBuilder ;
1514
1615import javax .vecmath .Point3d ;
17- import java .io .IOException ;
1816import java .io .StringReader ;
1917
2018import static org .hamcrest .MatcherAssert .assertThat ;
2321public class AtomToolsTest {
2422
2523 @ Test
26- public void calculate3DCoordinates3 () {
24+ public void calculate3DCoordinates3 () throws Exception {
2725 String molfile = "\n " +
2826 " Mrv1810 12152010123D \n " +
2927 "\n " +
@@ -47,8 +45,6 @@ public void calculate3DCoordinates3() {
4745 assertThat (newP .x , IsCloseTo .closeTo (2.0160 , 0.001 ));
4846 assertThat (newP .y , IsCloseTo .closeTo (-0.6871 , 0.001 ));
4947 assertThat (newP .z , IsCloseTo .closeTo (-1.1901 , 0.001 ));
50- } catch (IOException | CDKException e ) {
51- e .printStackTrace ();
5248 }
5349 }
5450}
You can’t perform that action at this time.
0 commit comments