@Test
public void testSmooth() {

    assertCoefficientsEquals(new double[]{666}, valueOf(666).smooth());
    assertCoefficientsEquals(new double[]{0}, valueOf(EPS).smooth());
    assertCoefficientsEquals(new double[]{EPS * 2}, valueOf(EPS * 2).smooth());
    assertCoefficientsEquals(new double[]{666}, valueOf(666 + EPS).smooth());
}