private void checkPolynomial(PolynomialFunction p, String reference) { Assert.assertEquals(reference, p.toString()); }