Class AccumulatorTest

java.lang.Object
org.djutils.stats.summarizers.quantileaccumulator.AccumulatorTest

public class AccumulatorTest extends Object
AccumulatorTest tests the quantile accumulators for the right exceptions.

Copyright (c) 2020-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Author:
Alexander Verbraeck, Peter Knoppers
  • Constructor Details

    • AccumulatorTest

      public AccumulatorTest()
  • Method Details

    • testAccumulators

      @Test public void testAccumulators()
      Test the accumulators for null and wrong probabilities.
    • testFullStorageAccumulator

      @Test public void testFullStorageAccumulator()
      Test the getCumulativeProbability method of the FullStorageAccumulator.
    • testFixedBinsAccumulator

      @Test public void testFixedBinsAccumulator()
      Test the getCumulativeProbability method of the FixedBinsAccumulator. This test does not cover cases where some of the registered values are out of range; as we have not decided how to compute cumulative probabilities for such cases.
    • testNoStorageAccumulator

      @Test public void testNoStorageAccumulator()
      Test the getCumulativeProbability method of the NoStorageAccumulator.
    • testTDigestAccumulator

      @Test public void testTDigestAccumulator()
      Test the getCumulativeProbability method of the TDigestAccumulator.