@Test
public void pearsonSkipCompression() {

    double[] weights1 = new double[]{1, 2, 3, 4, 4, 4, 4, 5, 6, 0, 0, 0, 0};
    double[] weights2 = new double[]{1, 2, 3, 4, 4, 4, 4, 5, 6, 0, 0, 0, 0};
    WeightedInput input1 = new WeightedInput(1, Weights.buildRleWeights(weights1, 3));
    WeightedInput input2 = new WeightedInput(2, Weights.buildRleWeights(weights2, 3));
    RleDecoder decoder = new RleDecoder(weights1.length);
    SimilarityResult similarityResult = input1.pearsonSkip(decoder, -1.0, input2, 0.0, true);
    assertEquals(1.0, similarityResult.similarity, 0.01);
}