@Test
public void testMirror() {

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