Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added Test[Class|Method] annotation
Change-Id: Ic775354a26bcd17a6b69d509980c4e7de22f459a
  • Loading branch information
egonw committed Jul 21, 2012
1 parent 102bad6 commit 075d518
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/org/openscience/cdk/geometry/GeometryTools.java
Expand Up @@ -39,6 +39,8 @@
import javax.vecmath.Vector3d;

import org.openscience.cdk.CDKConstants;
import org.openscience.cdk.annotations.TestClass;
import org.openscience.cdk.annotations.TestMethod;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.interfaces.IAtom;
import org.openscience.cdk.interfaces.IAtomContainer;
Expand Down Expand Up @@ -67,6 +69,7 @@
* @cdk.module standard
* @cdk.githash
*/
@TestClass("org.openscience.cdk.geometry.GeometryToolsTest")
public class GeometryTools {

private static ILoggingTool logger =
Expand Down Expand Up @@ -1013,6 +1016,7 @@ public static boolean has2DCoordinates(IAtomContainer container) {
* @see #get3DCoordinateCoverage(org.openscience.cdk.interfaces.IAtomContainer)
* @see org.openscience.cdk.interfaces.IAtom#getPoint2d()
*/
@TestMethod("get2DCoordinateCoverage_EmptyAtomContainer,get2DCoordinateCoverage_Partial,get2DCoordinateCoverage_Full")
public static CoordinateCoverage get2DCoordinateCoverage(IAtomContainer container) {

if (container == null || container.getAtomCount() == 0)
Expand Down Expand Up @@ -1105,6 +1109,7 @@ public static boolean has2DCoordinates(IBond bond) {
*
* @see org.openscience.cdk.interfaces.IAtom#getPoint3d()
*/
@TestMethod("testHas3DCoordinates_IAtomContainer,testHas3DCoordinates_EmptyAtomContainer")
public static boolean has3DCoordinates(IAtomContainer container) {

if (container == null || container.getAtomCount() == 0)
Expand Down Expand Up @@ -1139,6 +1144,7 @@ public static boolean has3DCoordinates(IAtomContainer container) {
* @see #get2DCoordinateCoverage(org.openscience.cdk.interfaces.IAtomContainer)
* @see org.openscience.cdk.interfaces.IAtom#getPoint3d()
*/
@TestMethod("get3DCoordinateCoverage_EmptyAtomContainer,get3DCoordinateCoverage_Partial,get3DCoordinateCoverage_Full")
public static CoordinateCoverage get3DCoordinateCoverage(IAtomContainer container) {

if (container == null || container.getAtomCount() == 0)
Expand Down

0 comments on commit 075d518

Please sign in to comment.