@Test
public void testComputeDiscr() {

    for (int i = 0; i < 10; i++) {
        Complex A2 = random(), B2 = random(), C2 = random();
        Complex result = B2.times(B2).minus(A2.times(C2).times(4));
        assertEquals(result, computeDiscr(B2, A2, C2), 0);
    }
}