Skip to content

Commit

Permalink
changed to IBitFingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalv authored and egonw committed Jul 28, 2012
1 parent b1ccac6 commit f0e45bf
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -30,6 +30,7 @@
import org.junit.Assert;
import org.junit.Test;
import org.openscience.cdk.CDKTestCase;
import org.openscience.cdk.fingerprint.IBitFingerprint;
import org.openscience.cdk.interfaces.IAtomContainer;
import org.openscience.cdk.interfaces.IRingSet;
import org.openscience.cdk.ringsearch.RingPartitioner;
Expand Down Expand Up @@ -70,13 +71,13 @@ public void testFingerprints() throws Exception{

String filename = "data/mdl/fingerprints_from_modelbuilder3d.sdf";
InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
List<BitSet> data= new TemplateExtractor().makeFingerprintsFromSdf(
List<IBitFingerprint> data= new TemplateExtractor().makeFingerprintsFromSdf(
true,false, new HashMap<String,Integer>(),
new BufferedReader ( new InputStreamReader ( ins ) ),
10
);
for(int i=0; i<data.size(); i++){
BitSet bs = data.get(i);
IBitFingerprint bs = data.get(i);
Assert.assertEquals(bsmb[i], bs);
}
}
Expand Down

0 comments on commit f0e45bf

Please sign in to comment.