public class HistogramTest extends Object
| Constructor and Description |
|---|
HistogramTest() |
public HistogramTest()
public static <T extends Number> org.modeshape.common.statistic.Histogram<T> createRandomHistogram(T minimum, T maximum, int numberOfValues, org.modeshape.common.math.MathOperations<T> ops)
public static <T extends Number> void writeHistogramToLog(org.modeshape.common.logging.Logger logger, org.modeshape.common.statistic.Histogram<T> histogram, int barLength, String description)
public <T extends Number> void assertBucketValueCount(org.modeshape.common.statistic.Histogram<T> histogram, long... values)
public void shouldCorrectlyPlaceAnOddNumberOfFloatValuesIntoSameOddNumberOfBuckets()
public void shouldCorrectlyPlaceAnEvenNumberOfFloatValuesIntoSameEvenNumberOfBuckets()
public void shouldCorrectlyPlaceAnOddNumberOfFloatValuesIntoSmallerNumberOfBuckets()
public void shouldCorrectlyPlaceAnEvenNumberOfFloatValuesIntoSmallerNumberOfBuckets()
public void shouldReturnListOfBuckets()
public void shouldCorrectlyPlaceAnOddNumberOfFloatValuesIntoSmallerNumberOfBucketsWithMinimumAndMaximumRanges()
public void shouldCorrectlyPlaceAnOddNumberOfFloatValuesIntoSmallerNumberOfBucketsWithMinimumRanges()
public void shouldCorrectlyConstructHistogramWithStandardDeviation()
public void shouldCorrectlyPlace1000RandomFloatValues()
public void shouldCorrectlyConstructBoundariesWithWindowSmallerThanActualFloats()
public void shouldCorrectlyConstructBoundariesWithWindowSmallerThanActualNarrowlyVaryingFloats()
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.