#NEWLINE# def test_array_content( self ) : #NEWLINE# #INDENT# test_array = np . random . random_integers ( 2 , 20 , ( 5 , 10 ) ) #NEWLINE# self . mlab . set_variable ( 'test' , test_array ) #NEWLINE# npt . assert_equal ( self . mlab . get_variable ( 'test' ) , test_array ) #NEWLINE# test_array = np . asfortranarray ( test_array ) #NEWLINE# self . mlab . set_variable ( 'test' , test_array ) #NEWLINE# npt . assert_equal ( self . mlab . get_variable ( 'test' ) , test_array ) #NEWLINE# test_array = test_array [ : : ( - 1 ) ] #NEWLINE# self . mlab . set_variable ( 'test' , test_array ) #NEWLINE# npt . assert_equal ( self . mlab . get_variable ( 'test' ) , test_array )