#NEWLINE# def test_neg_values_2( ) : #NEWLINE# #INDENT# npr . seed ( 2 ) #NEWLINE# for ii in xrange ( NUM_TRIALS ) : #NEWLINE# #INDENT# np_A = npr . randn ( 1 ) #NEWLINE# A = kayak . Parameter ( np_A ) #NEWLINE# D = ( - A ) #NEWLINE# assert ( D . shape == ii . shape ) #NEWLINE# assert np . all ( close_float ( D . value , ( - np_A ) ) )