If a quadratic polynomial has real roots and you make the domain of function evaluation large enough and also specify some known solutions to the equation, then you should be able to use parserImplicitEquation.pl and get robust answer checking:
http://webwork.maa.org/wiki/EquationImplicitFunction1
Best regards,
Paul Pearson