@Test
public void testComputeA2() {

    for (int i = 0; i < 10; i++) {
        Complex q2 = random(), f0 = random(), f1 = random(), f2 = random();
        Complex result = q2.times(f2.plus(q2.times(f0)).minus(q2.plus(1).times(f1)));
        assertEquals(result, computeA2(q2, f2, f0, f1), 0);
    }
}