function uniform_test ( )

%*****************************************************************************80
%
%% uniform_test() tests uniform().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    19 November 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../uniform' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'uniform_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test uniform().\n' );

  bvec_uniform_test ( );

  c8_uniform_01_test ( );
  c8mat_uniform_01_test ( );
  c8vec_uniform_01_test ( );

  ch_uniform_ab_test ( );

  i4_key_advance_test ( );

  i4_uniform_0i_test ( );
  i4_uniform_ab_test ( );
  i4mat_uniform_ab_test ( );
  i4vec_uniform_ab_test ( );

  l4_uniform_test ( );
  l4mat_uniform_test ( );
  l4vec_uniform_test ( );

  lcrg_anbn_test ( );
  lcrg_key_test ( );

  r8_uniform_01_test ( );
  r8_uniform_ab_test ( );
  r8mat_uniform_01_test ( );
  r8mat_uniform_ab_test ( );
  r8vec_uniform_01_test ( );
  r8vec_uniform_ab_test ( );

  r8col_uniform_abvec_test ( );
  r8row_uniform_abvec_test ( );
  r8vec_uniform_abvec_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'uniform_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../uniform' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

