#NEWLINE# def test_solve_quintics( ) : #NEWLINE# #INDENT# skip ( 'This test is too slow' ) #NEWLINE# f = ( ( ( ( ( x ** 5 ) - ( 110 * ( x ** 3 ) ) ) - ( 55 * ( x ** 2 ) ) ) + ( 2310 * x ) ) + 979 ) #NEWLINE# s = solveset_complex ( s , x ) #NEWLINE# for root in s : #NEWLINE# #INDENT# res = f . subs ( x , root . n ( ) ) . n ( ) #NEWLINE# assert tn ( res , 0 ) #NEWLINE# #UNINDENT# f = ( ( ( x ** 5 ) + ( 15 * x ) ) + 12 ) #NEWLINE# s = solveset_complex ( f , x ) #NEWLINE# for root in s : #NEWLINE# #INDENT# res = f . subs ( x , root . n ( ) ) . n ( ) #NEWLINE# assert tn ( res , 0 )