Skip to content

Commit

Permalink
The FixBondSystemTool changed the bond orders, and thus the fingerpri…
Browse files Browse the repository at this point in the history
…nt, and hence the tanimoto
  • Loading branch information
egonw committed Aug 12, 2012
1 parent c269483 commit 0d1750c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2032,13 +2032,13 @@ public void testGetFormats() {
mf=new MockIFile(path);
ICDKMolecule mol2 = cdk.loadMolecule(mf);
float similarity2 = cdk.calculateTanimoto( mol,mol2 );
Assert.assertEquals( 0.1163, similarity2, 0.0001 );
Assert.assertEquals( 0.1407, similarity2, 0.0001 );
}

@Test public void testMultipleTanimoto() throws Exception {
List<Float> expected= new ArrayList<Float>();
expected.add((float)1);
expected.add((float)0.1163);
expected.add((float)0.1407);
List<Float> actuals= new ArrayList<Float>();
URI uri = getClass().getResource("/testFiles/aromatic.mol").toURI();
URL url=FileLocator.toFileURL(uri.toURL());
Expand Down

0 comments on commit 0d1750c

Please sign in to comment.