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