@Test
public void testGetCoefficients() {

    double[] data = new double[]{A, B};
    Polynomial p1 = Polynomial.of(data);
    assertCoefficientsEquals(data, p1);
    assertNotSame(data, p1.getCoefficients());
}