#NEWLINE# def test_scalar( self ) : #NEWLINE# #INDENT# P = KroghInterpolator ( self . xs , self . ys ) #NEWLINE# assert_almost_equal ( self . true_poly ( 7 ) , P ( 7 ) ) #NEWLINE# assert_almost_equal ( self . true_poly ( np . array ( 7 ) ) , P ( np . array ( 7 ) ) )