#NEWLINE# def test_random_12( self ) : #NEWLINE# #INDENT# ( m , k ) = ( 5 , 12 ) #NEWLINE# ( xi , yi ) = self . _make_random_mk ( m , k ) #NEWLINE# pp = BPoly . from_derivatives ( pp , yi ) #NEWLINE# for order in range ( ( k // 2 ) ) : #NEWLINE# #INDENT# assert_allclose ( pp ( xi ) , [ yy [ order ] for yy in yi ] ) #NEWLINE# pp = pp . derivative ( )