@Test
public void testOf() {

    double[] data = new double[]{A, B};
    Polynomial p1 = Polynomial.of(data);
    assertCoefficientsEquals(data, p1);
    data[0] = 666;
    assertEquals(666, p1.get(0), NO_DELTA);
}