@Test
public void normalizingValuesContainingEightTenths() {

    Arrays.fill(values, 0.1d);
    values[10] = 0.8d;
    
    double gainMultiplier = normalizer.normalize(values, 22050.0f);
    assertThat(gainMultiplier, is(equalTo(1.25d)));
    for(int i = 0; i < values.length; i++) {
        if(i != 10) {
            assertThat(values[i], is(equalTo(0.125d)));
        } else {
            assertThat(values[10], is(equalTo(1.0d)));
        }
    }
}