### Question:
Histogram { public int getBucketCount() { return bucketCount; } Histogram( MathOperations<T> operations,
                      List<T> values );  Histogram( MathOperations<T> operations,
                      T... values ); BucketingStrategy getStrategy(); MathOperations<T> getMathOperations(); void setStrategy( double median,
                             double standardDeviation,
                             int sigma ); void setStrategy( T minimum,
                             T maximum ); void setStrategyToDefault(); int getSignificantFigures(); Histogram<T> setSignificantFigures( int significantFigures ); int getBucketCount(); Histogram<T> setBucketCount( int count ); List<Bucket> getBuckets(); long getTotalNumberOfValues(); List<String> getTextGraph( int maxBarLength ); static final int DEFAULT_BUCKET_COUNT; static final int DEFAULT_SIGNIFICANT_FIGURES; }### Answer:
@Test public void shouldCorrectlyPlace1000RandomFloatValues() { Histogram<Float> gram = createRandomHistogram(10.0f, 100.0f, 1000, new FloatOperations()); HistogramTest.writeHistogramToLog(this.logger, gram, 0, "Histogram of 1000 random float values in " + gram.getBucketCount() + " buckets: "); }