From: Jim Procter Date: Tue, 2 May 2017 13:15:52 +0000 (+0100) Subject: JAL-2424 resolved, assert updated to pass (1f != 1d) X-Git-Tag: Release_2_10_2~3^2~105^2~2^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d522b57e573db5344dbe0b108e7b4afcfa2c246c;p=jalview.git JAL-2424 resolved, assert updated to pass (1f != 1d) --- diff --git a/test/jalview/analysis/scoremodels/FeatureDistanceModelTest.java b/test/jalview/analysis/scoremodels/FeatureDistanceModelTest.java index 02e64b6..f52ede9 100644 --- a/test/jalview/analysis/scoremodels/FeatureDistanceModelTest.java +++ b/test/jalview/analysis/scoremodels/FeatureDistanceModelTest.java @@ -267,8 +267,9 @@ public class FeatureDistanceModelTest // these left to fail pending resolution of // JAL-2424 (computing score as 5/6, should be 5/5) // see also PCATest.testComputeSimilarity_featureDistances() - assertEquals(distances.getValue(0, 1), 1f, "JAL-2424!"); - assertEquals(distances.getValue(1, 0), 1f); + assertEquals(distances.getValue(0, 1), 1d, + "expected identical pairs. (check normalisation for similarity score)"); + assertEquals(distances.getValue(1, 0), 1d); } /**