@Test
public void shouldCorrectlyConstructBoundariesWithWindowSmallerThanActualNarrowlyVaryingFloats() {

    List<Float> boundaries = Histogram.getBucketBoundaries(new FloatOperations(),
                                                           10.00020f,
                                                           10.00030f,
                                                           10.00011f,
                                                           10.00050f,
                                                           12,
                                                           3);
    assertNotNull(boundaries);
    assertEquals(13, boundaries.size());
    assertEquals(10.00011f, boundaries.get(0), 0.00001f);
    assertEquals(10.00020f, boundaries.get(1), 0.00001f);
    assertEquals(10.00021f, boundaries.get(2), 0.00001f);
    assertEquals(10.00022f, boundaries.get(3), 0.00001f);
    assertEquals(10.00023f, boundaries.get(4), 0.00001f);
    assertEquals(10.00024f, boundaries.get(5), 0.00001f);
    assertEquals(10.00025f, boundaries.get(6), 0.00001f);
    assertEquals(10.00026f, boundaries.get(7), 0.00001f);
    assertEquals(10.00027f, boundaries.get(8), 0.00001f);
    assertEquals(10.00028f, boundaries.get(9), 0.00001f);
    assertEquals(10.00029f, boundaries.get(10), 0.00001f);
    assertEquals(10.00030f, boundaries.get(11), 0.00001f);
    assertEquals(10.00050f, boundaries.get(12), 0.00001f);
}