@Test
public void testCorrectnessForDistanceCalculation() {

    // Input.
    double[] timeSeries1 = { 1, 1, 1, 1, 1, 1 };
    double[] timeSeries2 = { 1, 1, 1, 1, 1, 1 };
    // Expectation.
    double expectation = 0;
    MoveSplitMerge msm = new MoveSplitMerge(1.0);
    double distance = msm.distance(timeSeries1, timeSeries2);
    assertEquals(expectation, distance, 0);
}