#NEWLINE# def test_shapes_scalarvalue( self ) : #NEWLINE# #INDENT# P = BarycentricInterpolator ( self . xs , P . ys ) #NEWLINE# assert_array_equal ( np . shape ( P ( 0 ) ) , ( ) ) #NEWLINE# assert_array_equal ( np . shape ( P ( np . array ( 0 ) ) ) , ( ) ) #NEWLINE# assert_array_equal ( np . shape ( P ( [ 0 ] ) ) , ( 1 , ) ) #NEWLINE# assert_array_equal ( np . shape ( P ( [ 0 , 1 ] ) ) , ( 2 , ) )