@Test
public void testValueOf() {

    assertCoefficientsEquals(new double[]{0}, valueOf(0));
    assertCoefficientsEquals(new double[]{1}, valueOf(1));
    assertCoefficientsEquals(new double[]{1}, valueOf(1, 0));
    assertCoefficientsEquals(new double[]{A, B, C}, valueOf(A, B, C));
    assertCoefficientsEquals(new double[]{A}, valueOf(A));
    assertCoefficientsEquals(new double[]{EPS}, valueOf(EPS));
}