function monotone_vector_random_test ( )

%*****************************************************************************80
%
%% monotone_vector_random_test() tests monotone_vector_random().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 October 2022
%
%  Author:
%
%    John Burkardt
%
  d = 3;
  b = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'monotone_vector_random_test():\n' );
  fprintf ( 1, '  monotone_vector_random() generates random monotone integer\n' );
  fprintf ( 1, '  vectors of length D with entries between 1 and B.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  The dimension d = %d\n', d );
  fprintf ( 1, '  The base b =      %d\n', b );
  fprintf ( 1, '\n' );
   
  for k = 1 : 10

    a = monotone_vector_random ( d, b );
    fprintf ( 1, '  %d:  ', k );
    disp ( a )

  end

  return
end
