@Test
public void testNegativeValues()
{

    QuantileDigest digest = new QuantileDigest(1);
    addAll(digest, asList(-1, -2, -3, -4, -5, 0, 1, 2, 3, 4, 5));
    assertEquals(digest.getCount(), (double) 11);
}