#NEWLINE# def test_gf_edf( ) : #NEWLINE# #INDENT# f = ZZ . map ( [ 1 , 1 , 0 , 1 , 2 ] ) #NEWLINE# g = ZZ . map ( [ [ 1 , 0 , 1 ] , [ 1 , 1 , 2 ] ] ) #NEWLINE# assert ( gf_edf_zassenhaus ( f , 2 , 3 , ZZ ) == g ) #NEWLINE# assert ( gf_edf_shoup ( f , 2 , 3 , ZZ ) == f )