// 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);
}
/**