@Test
public void rleWithEmptyArray() throws Exception {

    List<Number> weightList = Collections.emptyList();
    double[] actuals = Weights.buildRleWeights(weightList, 5);
    assertArrayEquals(new double[0], actuals, 0.01);
}