From: <raj...@us...> - 2008-10-24 21:22:23
|
Revision: 12784 http://cdk.svn.sourceforge.net/cdk/?rev=12784&view=rev Author: rajarshi Date: 2008-10-24 21:22:17 +0000 (Fri, 24 Oct 2008) Log Message: ----------- Updated test, since fingerprints have changed Modified Paths: -------------- cdk/branches/cdk-1.2.x/src/test/org/openscience/cdk/similarity/TanimotoTest.java Modified: cdk/branches/cdk-1.2.x/src/test/org/openscience/cdk/similarity/TanimotoTest.java =================================================================== --- cdk/branches/cdk-1.2.x/src/test/org/openscience/cdk/similarity/TanimotoTest.java 2008-10-24 19:22:23 UTC (rev 12783) +++ cdk/branches/cdk-1.2.x/src/test/org/openscience/cdk/similarity/TanimotoTest.java 2008-10-24 21:22:17 UTC (rev 12784) @@ -59,7 +59,7 @@ BitSet bs2 = fingerprinter.getFingerprint(mol2); float tanimoto = Tanimoto.calculate(bs1, bs2); if (standAlone) System.out.println("Tanimoto: " + tanimoto); - if (!standAlone) Assert.assertEquals(0.40625, tanimoto, 0.01); + if (!standAlone) Assert.assertEquals(0.3939, tanimoto, 0.01); } @Test public void testTanimoto2() throws java.lang.Exception This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |