Permalink
Browse files

Actually put in a test

  • Loading branch information...
1 parent 6dd172f commit 8ebda758cf991835be8d0cc48ec15e1922b2c390 @rajarshi rajarshi committed Oct 18, 2010
Showing with 8 additions and 7 deletions.
  1. +8 −7 src/test/org/openscience/cdk/fingerprint/FingerprinterTest.java
@@ -24,24 +24,20 @@
*/
package org.openscience.cdk.fingerprint;
-import java.io.InputStream;
-import java.math.BigInteger;
-import java.util.BitSet;
-
import org.junit.Assert;
import org.junit.Test;
import org.openscience.cdk.Atom;
+import org.openscience.cdk.ChemFile;
import org.openscience.cdk.Molecule;
import org.openscience.cdk.Reaction;
-import org.openscience.cdk.ChemFile;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.graph.AtomContainerAtomPermutor;
import org.openscience.cdk.graph.AtomContainerBondPermutor;
import org.openscience.cdk.interfaces.IAtomContainer;
import org.openscience.cdk.interfaces.IBond;
+import org.openscience.cdk.interfaces.IChemFile;
import org.openscience.cdk.interfaces.IMolecule;
import org.openscience.cdk.interfaces.IReaction;
-import org.openscience.cdk.interfaces.IChemFile;
import org.openscience.cdk.io.IChemObjectReader.Mode;
import org.openscience.cdk.io.MDLRXNV2000Reader;
import org.openscience.cdk.io.MDLV2000Reader;
@@ -50,6 +46,10 @@
import org.openscience.cdk.tools.LoggingToolFactory;
import org.openscience.cdk.tools.manipulator.ChemFileManipulator;
+import java.io.InputStream;
+import java.math.BigInteger;
+import java.util.BitSet;
+
/**
* @cdk.module test-standard
*/
@@ -173,7 +173,8 @@ public void testbug2917084() throws Exception {
IAtomContainer mol = ChemFileManipulator.getAllAtomContainers(chemFile).get(0);
Fingerprinter fingerprinter = new Fingerprinter();
- BitSet bs1 = fingerprinter.getFingerprint(mol);
+ BitSet bs1 = fingerprinter.getFingerprint(mol);
+ Assert.assertNotNull(bs1);
}
/**

0 comments on commit 8ebda75

Please sign in to comment.