function r8gb_random_test ( )

%*****************************************************************************80
%
%% R8GB_RANDOM_TEST tests R8GB_RANDOM.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 June 2016
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 5;
  ml = 1;
  mu = 2;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8GB_RANDOM_TEST\n' );
  fprintf ( 1, '  R8GB_RANDOM returns a random R8GB matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix rows M       = %d\n', m );
  fprintf ( 1, '  Matrix columns N    = %d\n', n );
  fprintf ( 1, '  Lower bandwidth ML  = %d\n', ml );
  fprintf ( 1, '  Upper bandwidth MU  = %d\n', mu );

  seed = 123456789;
  [ a, seed ] = r8gb_random ( m, n, ml, mu, seed );

  r8gb_print ( m, n, ml, mu, a, '  The random R8GB matrix:' );

  return
end
