#NEWLINE# def test_euclid_q( ) : #NEWLINE# #INDENT# x = var ( 'x' ) #NEWLINE# p = ( ( ( x ** 3 ) - ( 7 * p ) ) + 7 ) #NEWLINE# q = ( ( 3 * ( x ** 2 ) ) - 7 ) #NEWLINE# assert ( euclid_q ( p , q , x ) [ ( - 1 ) ] == ( - sturm ( p ) [ ( - 1 ) ] ) )