#NEWLINE# def test_FracElement( ) : #NEWLINE# #INDENT# ( F , x , y ) = field ( 'x,y' , ZZ ) #NEWLINE# assert ( srepr ( ( ( ( ( 3 * ( x ** 2 ) ) * y ) + 1 ) / ( x - ( y ** 2 ) ) ) ) == "FracElement(FracField((Symbol('x'), Symbol('y')), ZZ, lex), [((2, 1), 3), ((0, 0), 1)], [((1, 0), 1), ((0, 2), -1)])" )