function rua_32_test ( )

%*****************************************************************************80
%
%% RUA_32_TEST tests HB_TO_MSM.
%
%  Licensing:
%
%    I don't care what you do with this code.
%
%  Modified:
%
%    17 July 2017
%
%  Author:
%
%    John Burkardt
%
  filename = 'rua_32.txt';

  fprintf ( 1, '\n' );
  fprintf ( 1, 'RUA_32_TEST\n' );
  fprintf ( 1, '  We will read a Harwell-Boeing sparse matrix file\n' );
  fprintf ( 1, '  called "%s"\n', filename );
  fprintf ( 1, '  and have HB_TO_MSM convert it to MATLAB sparse format.\n' );

  a = hb_to_msm ( filename );

  [ m, n ] = size ( a );
  nonz = nnz ( a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order is %d by %d\n', m, n );
  fprintf ( 1, '  Number of nonzero entries is %d\n', nonz );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Use spy() to display the sparsity of the matrix.\n' );

  spy ( a )
  filename = 'rua_32.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  SPY plot saved as "%s"\n', filename );
%
%  To verify the results, we extract the data.
%
  b = full ( a )

  return
end



