#NEWLINE# def test_basic( self ) : #NEWLINE# #INDENT# self . f . build_and_fit ( self . x , self . y ) #NEWLINE# ( ( x , y ) , kwargs ) = self . call_info ( ) #NEWLINE# assert ( kwargs [ 'constraints' ] == { #NEWLINE# #INDENT# 'amplitude' : dict ( value = 1 , fixed = False , limits = None ) , #NEWLINE# 'mean' : dict ( value = 2 , fixed = False , limits = None ) , #NEWLINE# 'stddev' : dict ( value = 3 , fixed = False , limits = None ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# np . testing . assert_array_equal ( x , self . x ) #NEWLINE# np . testing . assert_array_equal ( y , self . y )