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-2023 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 SummaryConstructors Constructor Description AccumulatorTest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAccumulators()Test the accumulators for null and wrong probabilities.voidtestFixedBinsAccumulator()Test the getCumulativeProbability method of the FixedBinsAccumulator.voidtestFullStorageAccumulator()Test the getCumulativeProbability method of the FullStorageAccumulator.voidtestNoStorageAccumulator()Test the getCumulativeProbability method of the NoStorageAccumulator.voidtestTDigestAccumulator()Test the getCumulativeProbability method of the TDigestAccumulator.
 
- 
- 
- 
Method Detail- 
testAccumulatorspublic void testAccumulators() Test the accumulators for null and wrong probabilities.
 - 
testFullStorageAccumulatorpublic void testFullStorageAccumulator() Test the getCumulativeProbability method of the FullStorageAccumulator.
 - 
testFixedBinsAccumulatorpublic 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.
 - 
testNoStorageAccumulatorpublic void testNoStorageAccumulator() Test the getCumulativeProbability method of the NoStorageAccumulator.
 - 
testTDigestAccumulatorpublic void testTDigestAccumulator() Test the getCumulativeProbability method of the TDigestAccumulator.
 
- 
 
-