@Test
public void testCalDistanceVecVec() {

    DenseMatrix denseResult = distance.calc(distance.prepareVectorData(Tuple2.of(denseVector1, null)),
        (FastDistanceData)distance.prepareVectorData(Tuple2.of(denseVector2, null)));
    Assert.assertEquals(denseResult.get(0, 0), 5160.251, 0.01);
}